From 312410f80d1be85ddc7717647182fa3f23cd3620 Mon Sep 17 00:00:00 2001
From: "deepsource-autofix[bot]"
<62050782+deepsource-autofix[bot]@users.noreply.github.com>
Date: Fri, 6 Sep 2024 07:05:11 +0000
Subject: [PATCH] feat: KVS API template for storing vector metadata
---
apis/docs/v1/docs.md | 2661 ++++++-----------
apis/grpc/v1/agent/core/agent.pb.go | 4 +-
apis/grpc/v1/agent/core/agent_vtproto.pb.go | 58 +-
apis/grpc/v1/agent/sidecar/sidecar.pb.go | 21 +-
.../v1/agent/sidecar/sidecar_vtproto.pb.go | 24 +-
apis/grpc/v1/discoverer/discoverer.pb.go | 4 +-
.../v1/discoverer/discoverer_vtproto.pb.go | 62 +-
.../grpc/v1/filter/egress/egress_filter.pb.go | 4 +-
.../filter/egress/egress_filter_vtproto.pb.go | 49 +-
.../v1/filter/ingress/ingress_filter.pb.go | 4 +-
.../ingress/ingress_filter_vtproto.pb.go | 49 +-
apis/grpc/v1/meta/meta.pb.go | 4 +-
apis/grpc/v1/meta/meta_vtproto.pb.go | 58 +-
apis/grpc/v1/mirror/mirror.pb.go | 4 +-
apis/grpc/v1/mirror/mirror_vtproto.pb.go | 36 +-
apis/grpc/v1/payload/payload.pb.go | 495 +--
apis/grpc/v1/payload/payload.pb.json.go | 4 +-
apis/grpc/v1/payload/payload_vtproto.pb.go | 248 +-
.../v1/rpc/errdetails/error_details.pb.go | 69 +-
.../rpc/errdetails/error_details.pb.json.go | 4 +-
.../errdetails/error_details_vtproto.pb.go | 49 +-
apis/grpc/v1/vald/filter.pb.go | 4 +-
apis/grpc/v1/vald/filter_vtproto.pb.go | 147 +-
apis/grpc/v1/vald/flush.pb.go | 4 +-
apis/grpc/v1/vald/flush_vtproto.pb.go | 36 +-
apis/grpc/v1/vald/index.pb.go | 4 +-
apis/grpc/v1/vald/index_vtproto.pb.go | 88 +-
apis/grpc/v1/vald/insert.pb.go | 4 +-
apis/grpc/v1/vald/insert_vtproto.pb.go | 54 +-
apis/grpc/v1/vald/object.pb.go | 4 +-
apis/grpc/v1/vald/object_vtproto.pb.go | 76 +-
apis/grpc/v1/vald/remove.pb.go | 4 +-
apis/grpc/v1/vald/remove_vtproto.pb.go | 67 +-
apis/grpc/v1/vald/search.pb.go | 4 +-
apis/grpc/v1/vald/search_vtproto.pb.go | 147 +-
apis/grpc/v1/vald/update.pb.go | 4 +-
apis/grpc/v1/vald/update_vtproto.pb.go | 54 +-
apis/grpc/v1/vald/upsert.pb.go | 4 +-
apis/grpc/v1/vald/upsert_vtproto.pb.go | 54 +-
apis/swagger/v1/agent/core/agent.swagger.json | 20 +-
.../v1/agent/sidecar/sidecar.swagger.json | 8 +-
.../v1/discoverer/discoverer.swagger.json | 20 +-
.../filter/egress/egress_filter.swagger.json | 16 +-
.../ingress/ingress_filter.swagger.json | 16 +-
apis/swagger/v1/meta/meta.swagger.json | 20 +-
apis/swagger/v1/mirror/mirror.swagger.json | 12 +-
apis/swagger/v1/payload/payload.swagger.json | 8 +-
.../rpc/errdetails/error_details.swagger.json | 8 +-
apis/swagger/v1/vald/filter.swagger.json | 40 +-
apis/swagger/v1/vald/flush.swagger.json | 12 +-
apis/swagger/v1/vald/index.swagger.json | 28 +-
apis/swagger/v1/vald/insert.swagger.json | 16 +-
apis/swagger/v1/vald/object.swagger.json | 24 +-
apis/swagger/v1/vald/remove.swagger.json | 29 +-
apis/swagger/v1/vald/search.swagger.json | 40 +-
apis/swagger/v1/vald/update.swagger.json | 16 +-
apis/swagger/v1/vald/upsert.swagger.json | 16 +-
rust/Cargo.lock | 83 +-
rust/Cargo.toml | 1 +
rust/bin/meta/Cargo.toml | 24 +
rust/bin/meta/src/handler.rs | 21 +
rust/bin/meta/src/handler/meta.rs | 40 +
rust/bin/meta/src/main.rs | 30 +
rust/libs/proto/Cargo.toml | 1 +
rust/libs/proto/src/core.v1.rs | 2 -
rust/libs/proto/src/core.v1.tonic.rs | 17 +-
rust/libs/proto/src/discoverer.v1.rs | 2 -
rust/libs/proto/src/discoverer.v1.tonic.rs | 17 +-
rust/libs/proto/src/filter.egress.v1.rs | 2 -
rust/libs/proto/src/filter.egress.v1.tonic.rs | 17 +-
rust/libs/proto/src/filter.ingress.v1.rs | 2 -
.../libs/proto/src/filter.ingress.v1.tonic.rs | 17 +-
rust/libs/proto/src/lib.rs | 6 +
rust/libs/proto/src/meta.v1.rs | 2 -
rust/libs/proto/src/meta.v1.tonic.rs | 17 +-
rust/libs/proto/src/mirror.v1.rs | 2 -
rust/libs/proto/src/mirror.v1.tonic.rs | 17 +-
rust/libs/proto/src/payload.v1.rs | 18 +-
rust/libs/proto/src/rpc.v1.rs | 41 +-
rust/libs/proto/src/sidecar.v1.rs | 2 -
rust/libs/proto/src/sidecar.v1.tonic.rs | 17 +-
rust/libs/proto/src/vald.v1.rs | 2 -
rust/libs/proto/src/vald.v1.tonic.rs | 17 +-
83 files changed, 2774 insertions(+), 2662 deletions(-)
create mode 100644 rust/bin/meta/Cargo.toml
create mode 100644 rust/bin/meta/src/handler.rs
create mode 100644 rust/bin/meta/src/handler/meta.rs
create mode 100644 rust/bin/meta/src/main.rs
delete mode 100644 rust/libs/proto/src/core.v1.rs
delete mode 100644 rust/libs/proto/src/discoverer.v1.rs
delete mode 100644 rust/libs/proto/src/filter.egress.v1.rs
delete mode 100644 rust/libs/proto/src/filter.ingress.v1.rs
delete mode 100644 rust/libs/proto/src/meta.v1.rs
delete mode 100644 rust/libs/proto/src/mirror.v1.rs
delete mode 100644 rust/libs/proto/src/sidecar.v1.rs
delete mode 100644 rust/libs/proto/src/vald.v1.rs
diff --git a/apis/docs/v1/docs.md b/apis/docs/v1/docs.md
index ab7df37a52b..863b6fcf872 100644
--- a/apis/docs/v1/docs.md
+++ b/apis/docs/v1/docs.md
@@ -1,1959 +1,1364 @@
# Protocol Documentation
+
## Table of Contents
- [v1/payload/payload.proto](#v1_payload_payload-proto)
- - [Control](#payload-v1-Control)
- - [Control.CreateIndexRequest](#payload-v1-Control-CreateIndexRequest)
- - [Discoverer](#payload-v1-Discoverer)
- - [Discoverer.Request](#payload-v1-Discoverer-Request)
- - [Empty](#payload-v1-Empty)
- - [Filter](#payload-v1-Filter)
- - [Filter.Config](#payload-v1-Filter-Config)
- - [Filter.Target](#payload-v1-Filter-Target)
- - [Flush](#payload-v1-Flush)
- - [Flush.Request](#payload-v1-Flush-Request)
- - [Info](#payload-v1-Info)
- - [Info.Annotations](#payload-v1-Info-Annotations)
- - [Info.Annotations.AnnotationsEntry](#payload-v1-Info-Annotations-AnnotationsEntry)
- - [Info.CPU](#payload-v1-Info-CPU)
- - [Info.IPs](#payload-v1-Info-IPs)
- - [Info.Index](#payload-v1-Info-Index)
- - [Info.Index.Count](#payload-v1-Info-Index-Count)
- - [Info.Index.Detail](#payload-v1-Info-Index-Detail)
- - [Info.Index.Detail.CountsEntry](#payload-v1-Info-Index-Detail-CountsEntry)
- - [Info.Index.Property](#payload-v1-Info-Index-Property)
- - [Info.Index.PropertyDetail](#payload-v1-Info-Index-PropertyDetail)
- - [Info.Index.PropertyDetail.DetailsEntry](#payload-v1-Info-Index-PropertyDetail-DetailsEntry)
- - [Info.Index.Statistics](#payload-v1-Info-Index-Statistics)
- - [Info.Index.StatisticsDetail](#payload-v1-Info-Index-StatisticsDetail)
- - [Info.Index.StatisticsDetail.DetailsEntry](#payload-v1-Info-Index-StatisticsDetail-DetailsEntry)
- - [Info.Index.UUID](#payload-v1-Info-Index-UUID)
- - [Info.Index.UUID.Committed](#payload-v1-Info-Index-UUID-Committed)
- - [Info.Index.UUID.Uncommitted](#payload-v1-Info-Index-UUID-Uncommitted)
- - [Info.Labels](#payload-v1-Info-Labels)
- - [Info.Labels.LabelsEntry](#payload-v1-Info-Labels-LabelsEntry)
- - [Info.Memory](#payload-v1-Info-Memory)
- - [Info.Node](#payload-v1-Info-Node)
- - [Info.Nodes](#payload-v1-Info-Nodes)
- - [Info.Pod](#payload-v1-Info-Pod)
- - [Info.Pods](#payload-v1-Info-Pods)
- - [Info.Service](#payload-v1-Info-Service)
- - [Info.ServicePort](#payload-v1-Info-ServicePort)
- - [Info.Services](#payload-v1-Info-Services)
- - [Insert](#payload-v1-Insert)
- - [Insert.Config](#payload-v1-Insert-Config)
- - [Insert.MultiObjectRequest](#payload-v1-Insert-MultiObjectRequest)
- - [Insert.MultiRequest](#payload-v1-Insert-MultiRequest)
- - [Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest)
- - [Insert.Request](#payload-v1-Insert-Request)
- - [Meta](#payload-v1-Meta)
- - [Meta.Key](#payload-v1-Meta-Key)
- - [Meta.KeyValue](#payload-v1-Meta-KeyValue)
- - [Meta.Value](#payload-v1-Meta-Value)
- - [Mirror](#payload-v1-Mirror)
- - [Mirror.Target](#payload-v1-Mirror-Target)
- - [Mirror.Targets](#payload-v1-Mirror-Targets)
- - [Object](#payload-v1-Object)
- - [Object.Blob](#payload-v1-Object-Blob)
- - [Object.Distance](#payload-v1-Object-Distance)
- - [Object.ID](#payload-v1-Object-ID)
- - [Object.IDs](#payload-v1-Object-IDs)
- - [Object.List](#payload-v1-Object-List)
- - [Object.List.Request](#payload-v1-Object-List-Request)
- - [Object.List.Response](#payload-v1-Object-List-Response)
- - [Object.Location](#payload-v1-Object-Location)
- - [Object.Locations](#payload-v1-Object-Locations)
- - [Object.ReshapeVector](#payload-v1-Object-ReshapeVector)
- - [Object.StreamBlob](#payload-v1-Object-StreamBlob)
- - [Object.StreamDistance](#payload-v1-Object-StreamDistance)
- - [Object.StreamLocation](#payload-v1-Object-StreamLocation)
- - [Object.StreamVector](#payload-v1-Object-StreamVector)
- - [Object.Timestamp](#payload-v1-Object-Timestamp)
- - [Object.TimestampRequest](#payload-v1-Object-TimestampRequest)
- - [Object.Vector](#payload-v1-Object-Vector)
- - [Object.VectorRequest](#payload-v1-Object-VectorRequest)
- - [Object.Vectors](#payload-v1-Object-Vectors)
- - [Remove](#payload-v1-Remove)
- - [Remove.Config](#payload-v1-Remove-Config)
- - [Remove.MultiRequest](#payload-v1-Remove-MultiRequest)
- - [Remove.Request](#payload-v1-Remove-Request)
- - [Remove.Timestamp](#payload-v1-Remove-Timestamp)
- - [Remove.TimestampRequest](#payload-v1-Remove-TimestampRequest)
- - [Search](#payload-v1-Search)
- - [Search.Config](#payload-v1-Search-Config)
- - [Search.IDRequest](#payload-v1-Search-IDRequest)
- - [Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest)
- - [Search.MultiObjectRequest](#payload-v1-Search-MultiObjectRequest)
- - [Search.MultiRequest](#payload-v1-Search-MultiRequest)
- - [Search.ObjectRequest](#payload-v1-Search-ObjectRequest)
- - [Search.Request](#payload-v1-Search-Request)
- - [Search.Response](#payload-v1-Search-Response)
- - [Search.Responses](#payload-v1-Search-Responses)
- - [Search.StreamResponse](#payload-v1-Search-StreamResponse)
- - [Update](#payload-v1-Update)
- - [Update.Config](#payload-v1-Update-Config)
- - [Update.MultiObjectRequest](#payload-v1-Update-MultiObjectRequest)
- - [Update.MultiRequest](#payload-v1-Update-MultiRequest)
- - [Update.ObjectRequest](#payload-v1-Update-ObjectRequest)
- - [Update.Request](#payload-v1-Update-Request)
- - [Upsert](#payload-v1-Upsert)
- - [Upsert.Config](#payload-v1-Upsert-Config)
- - [Upsert.MultiObjectRequest](#payload-v1-Upsert-MultiObjectRequest)
- - [Upsert.MultiRequest](#payload-v1-Upsert-MultiRequest)
- - [Upsert.ObjectRequest](#payload-v1-Upsert-ObjectRequest)
- - [Upsert.Request](#payload-v1-Upsert-Request)
-
- - [Remove.Timestamp.Operator](#payload-v1-Remove-Timestamp-Operator)
- - [Search.AggregationAlgorithm](#payload-v1-Search-AggregationAlgorithm)
-
+
+ - [Control](#payload-v1-Control)
+ - [Control.CreateIndexRequest](#payload-v1-Control-CreateIndexRequest)
+ - [Discoverer](#payload-v1-Discoverer)
+ - [Discoverer.Request](#payload-v1-Discoverer-Request)
+ - [Empty](#payload-v1-Empty)
+ - [Filter](#payload-v1-Filter)
+ - [Filter.Config](#payload-v1-Filter-Config)
+ - [Filter.Target](#payload-v1-Filter-Target)
+ - [Flush](#payload-v1-Flush)
+ - [Flush.Request](#payload-v1-Flush-Request)
+ - [Info](#payload-v1-Info)
+ - [Info.Annotations](#payload-v1-Info-Annotations)
+ - [Info.Annotations.AnnotationsEntry](#payload-v1-Info-Annotations-AnnotationsEntry)
+ - [Info.CPU](#payload-v1-Info-CPU)
+ - [Info.IPs](#payload-v1-Info-IPs)
+ - [Info.Index](#payload-v1-Info-Index)
+ - [Info.Index.Count](#payload-v1-Info-Index-Count)
+ - [Info.Index.Detail](#payload-v1-Info-Index-Detail)
+ - [Info.Index.Detail.CountsEntry](#payload-v1-Info-Index-Detail-CountsEntry)
+ - [Info.Index.Property](#payload-v1-Info-Index-Property)
+ - [Info.Index.PropertyDetail](#payload-v1-Info-Index-PropertyDetail)
+ - [Info.Index.PropertyDetail.DetailsEntry](#payload-v1-Info-Index-PropertyDetail-DetailsEntry)
+ - [Info.Index.Statistics](#payload-v1-Info-Index-Statistics)
+ - [Info.Index.StatisticsDetail](#payload-v1-Info-Index-StatisticsDetail)
+ - [Info.Index.StatisticsDetail.DetailsEntry](#payload-v1-Info-Index-StatisticsDetail-DetailsEntry)
+ - [Info.Index.UUID](#payload-v1-Info-Index-UUID)
+ - [Info.Index.UUID.Committed](#payload-v1-Info-Index-UUID-Committed)
+ - [Info.Index.UUID.Uncommitted](#payload-v1-Info-Index-UUID-Uncommitted)
+ - [Info.Labels](#payload-v1-Info-Labels)
+ - [Info.Labels.LabelsEntry](#payload-v1-Info-Labels-LabelsEntry)
+ - [Info.Memory](#payload-v1-Info-Memory)
+ - [Info.Node](#payload-v1-Info-Node)
+ - [Info.Nodes](#payload-v1-Info-Nodes)
+ - [Info.Pod](#payload-v1-Info-Pod)
+ - [Info.Pods](#payload-v1-Info-Pods)
+ - [Info.Service](#payload-v1-Info-Service)
+ - [Info.ServicePort](#payload-v1-Info-ServicePort)
+ - [Info.Services](#payload-v1-Info-Services)
+ - [Insert](#payload-v1-Insert)
+ - [Insert.Config](#payload-v1-Insert-Config)
+ - [Insert.MultiObjectRequest](#payload-v1-Insert-MultiObjectRequest)
+ - [Insert.MultiRequest](#payload-v1-Insert-MultiRequest)
+ - [Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest)
+ - [Insert.Request](#payload-v1-Insert-Request)
+ - [Meta](#payload-v1-Meta)
+ - [Meta.Key](#payload-v1-Meta-Key)
+ - [Meta.KeyValue](#payload-v1-Meta-KeyValue)
+ - [Meta.Value](#payload-v1-Meta-Value)
+ - [Mirror](#payload-v1-Mirror)
+ - [Mirror.Target](#payload-v1-Mirror-Target)
+ - [Mirror.Targets](#payload-v1-Mirror-Targets)
+ - [Object](#payload-v1-Object)
+ - [Object.Blob](#payload-v1-Object-Blob)
+ - [Object.Distance](#payload-v1-Object-Distance)
+ - [Object.ID](#payload-v1-Object-ID)
+ - [Object.IDs](#payload-v1-Object-IDs)
+ - [Object.List](#payload-v1-Object-List)
+ - [Object.List.Request](#payload-v1-Object-List-Request)
+ - [Object.List.Response](#payload-v1-Object-List-Response)
+ - [Object.Location](#payload-v1-Object-Location)
+ - [Object.Locations](#payload-v1-Object-Locations)
+ - [Object.ReshapeVector](#payload-v1-Object-ReshapeVector)
+ - [Object.StreamBlob](#payload-v1-Object-StreamBlob)
+ - [Object.StreamDistance](#payload-v1-Object-StreamDistance)
+ - [Object.StreamLocation](#payload-v1-Object-StreamLocation)
+ - [Object.StreamVector](#payload-v1-Object-StreamVector)
+ - [Object.Timestamp](#payload-v1-Object-Timestamp)
+ - [Object.TimestampRequest](#payload-v1-Object-TimestampRequest)
+ - [Object.Vector](#payload-v1-Object-Vector)
+ - [Object.VectorRequest](#payload-v1-Object-VectorRequest)
+ - [Object.Vectors](#payload-v1-Object-Vectors)
+ - [Remove](#payload-v1-Remove)
+ - [Remove.Config](#payload-v1-Remove-Config)
+ - [Remove.MultiRequest](#payload-v1-Remove-MultiRequest)
+ - [Remove.Request](#payload-v1-Remove-Request)
+ - [Remove.Timestamp](#payload-v1-Remove-Timestamp)
+ - [Remove.TimestampRequest](#payload-v1-Remove-TimestampRequest)
+ - [Search](#payload-v1-Search)
+ - [Search.Config](#payload-v1-Search-Config)
+ - [Search.IDRequest](#payload-v1-Search-IDRequest)
+ - [Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest)
+ - [Search.MultiObjectRequest](#payload-v1-Search-MultiObjectRequest)
+ - [Search.MultiRequest](#payload-v1-Search-MultiRequest)
+ - [Search.ObjectRequest](#payload-v1-Search-ObjectRequest)
+ - [Search.Request](#payload-v1-Search-Request)
+ - [Search.Response](#payload-v1-Search-Response)
+ - [Search.Responses](#payload-v1-Search-Responses)
+ - [Search.StreamResponse](#payload-v1-Search-StreamResponse)
+ - [Update](#payload-v1-Update)
+ - [Update.Config](#payload-v1-Update-Config)
+ - [Update.MultiObjectRequest](#payload-v1-Update-MultiObjectRequest)
+ - [Update.MultiRequest](#payload-v1-Update-MultiRequest)
+ - [Update.ObjectRequest](#payload-v1-Update-ObjectRequest)
+ - [Update.Request](#payload-v1-Update-Request)
+ - [Upsert](#payload-v1-Upsert)
+ - [Upsert.Config](#payload-v1-Upsert-Config)
+ - [Upsert.MultiObjectRequest](#payload-v1-Upsert-MultiObjectRequest)
+ - [Upsert.MultiRequest](#payload-v1-Upsert-MultiRequest)
+ - [Upsert.ObjectRequest](#payload-v1-Upsert-ObjectRequest)
+ - [Upsert.Request](#payload-v1-Upsert-Request)
+ - [Remove.Timestamp.Operator](#payload-v1-Remove-Timestamp-Operator)
+ - [Search.AggregationAlgorithm](#payload-v1-Search-AggregationAlgorithm)
+
- [v1/agent/core/agent.proto](#v1_agent_core_agent-proto)
- - [Agent](#core-v1-Agent)
-
+ - [Agent](#core-v1-Agent)
- [v1/agent/sidecar/sidecar.proto](#v1_agent_sidecar_sidecar-proto)
- - [Sidecar](#sidecar-v1-Sidecar)
-
+ - [Sidecar](#sidecar-v1-Sidecar)
- [v1/discoverer/discoverer.proto](#v1_discoverer_discoverer-proto)
- - [Discoverer](#discoverer-v1-Discoverer)
-
+ - [Discoverer](#discoverer-v1-Discoverer)
- [v1/filter/egress/egress_filter.proto](#v1_filter_egress_egress_filter-proto)
- - [Filter](#filter-egress-v1-Filter)
-
+ - [Filter](#filter-egress-v1-Filter)
- [v1/filter/ingress/ingress_filter.proto](#v1_filter_ingress_ingress_filter-proto)
- - [Filter](#filter-ingress-v1-Filter)
-
+ - [Filter](#filter-ingress-v1-Filter)
- [v1/meta/meta.proto](#v1_meta_meta-proto)
- - [Meta](#meta-v1-Meta)
-
+ - [Meta](#meta-v1-Meta)
- [v1/mirror/mirror.proto](#v1_mirror_mirror-proto)
- - [Mirror](#mirror-v1-Mirror)
-
+ - [Mirror](#mirror-v1-Mirror)
- [v1/rpc/errdetails/error_details.proto](#v1_rpc_errdetails_error_details-proto)
- - [BadRequest](#rpc-v1-BadRequest)
- - [BadRequest.FieldViolation](#rpc-v1-BadRequest-FieldViolation)
- - [DebugInfo](#rpc-v1-DebugInfo)
- - [ErrorInfo](#rpc-v1-ErrorInfo)
- - [ErrorInfo.MetadataEntry](#rpc-v1-ErrorInfo-MetadataEntry)
- - [Help](#rpc-v1-Help)
- - [Help.Link](#rpc-v1-Help-Link)
- - [LocalizedMessage](#rpc-v1-LocalizedMessage)
- - [PreconditionFailure](#rpc-v1-PreconditionFailure)
- - [PreconditionFailure.Violation](#rpc-v1-PreconditionFailure-Violation)
- - [QuotaFailure](#rpc-v1-QuotaFailure)
- - [QuotaFailure.Violation](#rpc-v1-QuotaFailure-Violation)
- - [RequestInfo](#rpc-v1-RequestInfo)
- - [ResourceInfo](#rpc-v1-ResourceInfo)
- - [RetryInfo](#rpc-v1-RetryInfo)
-
+ - [BadRequest](#rpc-v1-BadRequest)
+ - [BadRequest.FieldViolation](#rpc-v1-BadRequest-FieldViolation)
+ - [DebugInfo](#rpc-v1-DebugInfo)
+ - [ErrorInfo](#rpc-v1-ErrorInfo)
+ - [ErrorInfo.MetadataEntry](#rpc-v1-ErrorInfo-MetadataEntry)
+ - [Help](#rpc-v1-Help)
+ - [Help.Link](#rpc-v1-Help-Link)
+ - [LocalizedMessage](#rpc-v1-LocalizedMessage)
+ - [PreconditionFailure](#rpc-v1-PreconditionFailure)
+ - [PreconditionFailure.Violation](#rpc-v1-PreconditionFailure-Violation)
+ - [QuotaFailure](#rpc-v1-QuotaFailure)
+ - [QuotaFailure.Violation](#rpc-v1-QuotaFailure-Violation)
+ - [RequestInfo](#rpc-v1-RequestInfo)
+ - [ResourceInfo](#rpc-v1-ResourceInfo)
+ - [RetryInfo](#rpc-v1-RetryInfo)
- [v1/vald/filter.proto](#v1_vald_filter-proto)
- - [Filter](#vald-v1-Filter)
-
+ - [Filter](#vald-v1-Filter)
- [v1/vald/flush.proto](#v1_vald_flush-proto)
- - [Flush](#vald-v1-Flush)
-
+ - [Flush](#vald-v1-Flush)
- [v1/vald/index.proto](#v1_vald_index-proto)
- - [Index](#vald-v1-Index)
-
+ - [Index](#vald-v1-Index)
- [v1/vald/insert.proto](#v1_vald_insert-proto)
- - [Insert](#vald-v1-Insert)
-
+ - [Insert](#vald-v1-Insert)
- [v1/vald/object.proto](#v1_vald_object-proto)
- - [Object](#vald-v1-Object)
-
+ - [Object](#vald-v1-Object)
- [v1/vald/remove.proto](#v1_vald_remove-proto)
- - [Remove](#vald-v1-Remove)
-
+ - [Remove](#vald-v1-Remove)
- [v1/vald/search.proto](#v1_vald_search-proto)
- - [Search](#vald-v1-Search)
-
+ - [Search](#vald-v1-Search)
- [v1/vald/update.proto](#v1_vald_update-proto)
- - [Update](#vald-v1-Update)
-
+ - [Update](#vald-v1-Update)
- [v1/vald/upsert.proto](#v1_vald_upsert-proto)
- - [Upsert](#vald-v1-Upsert)
-
+ - [Upsert](#vald-v1-Upsert)
- [Scalar Value Types](#scalar-value-types)
-
-
+
Top
## v1/payload/payload.proto
-
-
### Control
-Control related messages.
-
-
-
-
+Control related messages.
### Control.CreateIndexRequest
-Represent the create index request.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| pool_size | [uint32](#uint32) | | The pool size of the create index operation. |
-
-
-
+Represent the create index request.
+| Field | Type | Label | Description |
+| --------- | ----------------- | ----- | -------------------------------------------- |
+| pool_size | [uint32](#uint32) | | The pool size of the create index operation. |
### Discoverer
-Discoverer related messages.
-
-
-
-
+Discoverer related messages.
### Discoverer.Request
-Represent the dicoverer request.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The agent name to be discovered. |
-| namespace | [string](#string) | | The namespace to be discovered. |
-| node | [string](#string) | | The node to be discovered. |
-
-
-
+Represent the dicoverer request.
+| Field | Type | Label | Description |
+| --------- | ----------------- | ----- | -------------------------------- |
+| name | [string](#string) | | The agent name to be discovered. |
+| namespace | [string](#string) | | The namespace to be discovered. |
+| node | [string](#string) | | The node to be discovered. |
### Empty
-Represent an empty message.
-
-
-
-
+Represent an empty message.
### Filter
-Filter related messages.
-
-
-
-
+Filter related messages.
### Filter.Config
-Represent filter configuration.
+Represent filter configuration.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| ------- | ------------------------------------------ | -------- | ------------------------------------------ |
| targets | [Filter.Target](#payload-v1-Filter-Target) | repeated | Represent the filter target configuration. |
-
-
-
-
-
### Filter.Target
-Represent the target filter server.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| host | [string](#string) | | The target hostname. |
-| port | [uint32](#uint32) | | The target port. |
-
-
-
+Represent the target filter server.
+| Field | Type | Label | Description |
+| ----- | ----------------- | ----- | -------------------- |
+| host | [string](#string) | | The target hostname. |
+| port | [uint32](#uint32) | | The target port. |
### Flush
-Flush related messages.
-
-
-
-
+Flush related messages.
### Flush.Request
-
-
-
-
-
-
### Info
-Info related messages.
-
-
-
-
+Info related messages.
### Info.Annotations
+
Represent the kubernetes annotations.
+| Field | Type | Label | Description |
+| ----------- | ---------------------------------------------------------------------------------- | -------- | ----------- |
+| annotations | [Info.Annotations.AnnotationsEntry](#payload-v1-Info-Annotations-AnnotationsEntry) | repeated | |
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| annotations | [Info.Annotations.AnnotationsEntry](#payload-v1-Info-Annotations-AnnotationsEntry) | repeated | |
+
+### Info.Annotations.AnnotationsEntry
+| Field | Type | Label | Description |
+| ----- | ----------------- | ----- | ----------- |
+| key | [string](#string) | | |
+| value | [string](#string) | | |
+
+### Info.CPU
+Represent the CPU information message.
-
+| Field | Type | Label | Description |
+| ------- | ----------------- | ----- | --------------------------- |
+| limit | [double](#double) | | The CPU resource limit. |
+| request | [double](#double) | | The CPU resource requested. |
+| usage | [double](#double) | | The CPU usage. |
-### Info.Annotations.AnnotationsEntry
+
+### Info.IPs
+Represent the multiple IP message.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| key | [string](#string) | | |
-| value | [string](#string) | | |
+| Field | Type | Label | Description |
+| ----- | ----------------- | -------- | ----------- |
+| ip | [string](#string) | repeated | |
+
+### Info.Index
+Represent the index information messages.
+
+### Info.Index.Count
-
+Represent the index count message.
-### Info.CPU
-Represent the CPU information message.
+| Field | Type | Label | Description |
+| ----------- | ----------------- | ----- | ---------------------------- |
+| stored | [uint32](#uint32) | | The stored index count. |
+| uncommitted | [uint32](#uint32) | | The uncommitted index count. |
+| indexing | [bool](#bool) | | The indexing index count. |
+| saving | [bool](#bool) | | The saving index count. |
+
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| limit | [double](#double) | | The CPU resource limit. |
-| request | [double](#double) | | The CPU resource requested. |
-| usage | [double](#double) | | The CPU usage. |
+### Info.Index.Detail
+Represent the index count for each Agents message.
+| Field | Type | Label | Description |
+| ----------- | -------------------------------------------------------------------------- | -------- | ---------------------------------- |
+| counts | [Info.Index.Detail.CountsEntry](#payload-v1-Info-Index-Detail-CountsEntry) | repeated | count infos for each agents |
+| replica | [uint32](#uint32) | | index replica of vald cluster |
+| live_agents | [uint32](#uint32) | | live agent replica of vald cluster |
+
+### Info.Index.Detail.CountsEntry
+| Field | Type | Label | Description |
+| ----- | ------------------------------------------------ | ----- | ----------- |
+| key | [string](#string) | | |
+| value | [Info.Index.Count](#payload-v1-Info-Index-Count) | | |
-
+
-### Info.IPs
-Represent the multiple IP message.
+### Info.Index.Property
+Represents index Property
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| ip | [string](#string) | repeated | |
+| Field | Type | Label | Description |
+| ---------------------------------- | ----------------- | ----- | ----------- |
+| dimension | [int32](#int32) | | |
+| thread_pool_size | [int32](#int32) | | |
+| object_type | [string](#string) | | |
+| distance_type | [string](#string) | | |
+| index_type | [string](#string) | | |
+| database_type | [string](#string) | | |
+| object_alignment | [string](#string) | | |
+| path_adjustment_interval | [int32](#int32) | | |
+| graph_shared_memory_size | [int32](#int32) | | |
+| tree_shared_memory_size | [int32](#int32) | | |
+| object_shared_memory_size | [int32](#int32) | | |
+| prefetch_offset | [int32](#int32) | | |
+| prefetch_size | [int32](#int32) | | |
+| accuracy_table | [string](#string) | | |
+| search_type | [string](#string) | | |
+| max_magnitude | [float](#float) | | |
+| n_of_neighbors_for_insertion_order | [int32](#int32) | | |
+| epsilon_for_insertion_order | [float](#float) | | |
+| refinement_object_type | [string](#string) | | |
+| truncation_threshold | [int32](#int32) | | |
+| edge_size_for_creation | [int32](#int32) | | |
+| edge_size_for_search | [int32](#int32) | | |
+| edge_size_limit_for_creation | [int32](#int32) | | |
+| insertion_radius_coefficient | [double](#double) | | |
+| seed_size | [int32](#int32) | | |
+| seed_type | [string](#string) | | |
+| truncation_thread_pool_size | [int32](#int32) | | |
+| batch_size_for_creation | [int32](#int32) | | |
+| graph_type | [string](#string) | | |
+| dynamic_edge_size_base | [int32](#int32) | | |
+| dynamic_edge_size_rate | [int32](#int32) | | |
+| build_time_limit | [float](#float) | | |
+| outgoing_edge | [int32](#int32) | | |
+| incoming_edge | [int32](#int32) | | |
+
+### Info.Index.PropertyDetail
+Represents index Properties for each Agents
+| Field | Type | Label | Description |
+| ------- | -------------------------------------------------------------------------------------------- | -------- | ----------- |
+| details | [Info.Index.PropertyDetail.DetailsEntry](#payload-v1-Info-Index-PropertyDetail-DetailsEntry) | repeated | |
+
-
+### Info.Index.PropertyDetail.DetailsEntry
-### Info.Index
-Represent the index information messages.
+| Field | Type | Label | Description |
+| ----- | ------------------------------------------------------ | ----- | ----------- |
+| key | [string](#string) | | |
+| value | [Info.Index.Property](#payload-v1-Info-Index-Property) | | |
+
+### Info.Index.Statistics
+Represents index Statistics
+| Field | Type | Label | Description |
+| ------------------------------------ | ----------------- | -------- | ----------- |
+| valid | [bool](#bool) | | |
+| median_indegree | [int32](#int32) | | |
+| median_outdegree | [int32](#int32) | | |
+| max_number_of_indegree | [uint64](#uint64) | | |
+| max_number_of_outdegree | [uint64](#uint64) | | |
+| min_number_of_indegree | [uint64](#uint64) | | |
+| min_number_of_outdegree | [uint64](#uint64) | | |
+| mode_indegree | [uint64](#uint64) | | |
+| mode_outdegree | [uint64](#uint64) | | |
+| nodes_skipped_for_10_edges | [uint64](#uint64) | | |
+| nodes_skipped_for_indegree_distance | [uint64](#uint64) | | |
+| number_of_edges | [uint64](#uint64) | | |
+| number_of_indexed_objects | [uint64](#uint64) | | |
+| number_of_nodes | [uint64](#uint64) | | |
+| number_of_nodes_without_edges | [uint64](#uint64) | | |
+| number_of_nodes_without_indegree | [uint64](#uint64) | | |
+| number_of_objects | [uint64](#uint64) | | |
+| number_of_removed_objects | [uint64](#uint64) | | |
+| size_of_object_repository | [uint64](#uint64) | | |
+| size_of_refinement_object_repository | [uint64](#uint64) | | |
+| variance_of_indegree | [double](#double) | | |
+| variance_of_outdegree | [double](#double) | | |
+| mean_edge_length | [double](#double) | | |
+| mean_edge_length_for_10_edges | [double](#double) | | |
+| mean_indegree_distance_for_10_edges | [double](#double) | | |
+| mean_number_of_edges_per_node | [double](#double) | | |
+| c1_indegree | [double](#double) | | |
+| c5_indegree | [double](#double) | | |
+| c95_outdegree | [double](#double) | | |
+| c99_outdegree | [double](#double) | | |
+| indegree_count | [int64](#int64) | repeated | |
+| outdegree_histogram | [uint64](#uint64) | repeated | |
+| indegree_histogram | [uint64](#uint64) | repeated | |
+
-
+### Info.Index.StatisticsDetail
-### Info.Index.Count
-Represent the index count message.
+Represents index Statistics for each Agents
+| Field | Type | Label | Description |
+| ------- | ------------------------------------------------------------------------------------------------ | -------- | --------------------------- |
+| details | [Info.Index.StatisticsDetail.DetailsEntry](#payload-v1-Info-Index-StatisticsDetail-DetailsEntry) | repeated | count infos for each agents |
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| stored | [uint32](#uint32) | | The stored index count. |
-| uncommitted | [uint32](#uint32) | | The uncommitted index count. |
-| indexing | [bool](#bool) | | The indexing index count. |
-| saving | [bool](#bool) | | The saving index count. |
+
+### Info.Index.StatisticsDetail.DetailsEntry
+| Field | Type | Label | Description |
+| ----- | ---------------------------------------------------------- | ----- | ----------- |
+| key | [string](#string) | | |
+| value | [Info.Index.Statistics](#payload-v1-Info-Index-Statistics) | | |
+
+### Info.Index.UUID
+Represent the UUID message.
-
+
-### Info.Index.Detail
-Represent the index count for each Agents message.
+### Info.Index.UUID.Committed
+The committed UUID.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| counts | [Info.Index.Detail.CountsEntry](#payload-v1-Info-Index-Detail-CountsEntry) | repeated | count infos for each agents |
-| replica | [uint32](#uint32) | | index replica of vald cluster |
-| live_agents | [uint32](#uint32) | | live agent replica of vald cluster |
+| Field | Type | Label | Description |
+| ----- | ----------------- | ----- | ----------- |
+| uuid | [string](#string) | | |
+
+### Info.Index.UUID.Uncommitted
+The uncommitted UUID.
+| Field | Type | Label | Description |
+| ----- | ----------------- | ----- | ----------- |
+| uuid | [string](#string) | | |
+
-
+### Info.Labels
-### Info.Index.Detail.CountsEntry
+Represent the kubernetes labels.
+| Field | Type | Label | Description |
+| ------ | -------------------------------------------------------------- | -------- | ----------- |
+| labels | [Info.Labels.LabelsEntry](#payload-v1-Info-Labels-LabelsEntry) | repeated | |
+
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| key | [string](#string) | | |
-| value | [Info.Index.Count](#payload-v1-Info-Index-Count) | | |
+### Info.Labels.LabelsEntry
+| Field | Type | Label | Description |
+| ----- | ----------------- | ----- | ----------- |
+| key | [string](#string) | | |
+| value | [string](#string) | | |
+
+### Info.Memory
+Represent the memory information message.
+| Field | Type | Label | Description |
+| ------- | ----------------- | ----- | --------------------- |
+| limit | [double](#double) | | The memory limit. |
+| request | [double](#double) | | The memory requested. |
+| usage | [double](#double) | | The memory usage. |
-
+
-### Info.Index.Property
-Represents index Property
+### Info.Node
+Represent the node information message.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| dimension | [int32](#int32) | | |
-| thread_pool_size | [int32](#int32) | | |
-| object_type | [string](#string) | | |
-| distance_type | [string](#string) | | |
-| index_type | [string](#string) | | |
-| database_type | [string](#string) | | |
-| object_alignment | [string](#string) | | |
-| path_adjustment_interval | [int32](#int32) | | |
-| graph_shared_memory_size | [int32](#int32) | | |
-| tree_shared_memory_size | [int32](#int32) | | |
-| object_shared_memory_size | [int32](#int32) | | |
-| prefetch_offset | [int32](#int32) | | |
-| prefetch_size | [int32](#int32) | | |
-| accuracy_table | [string](#string) | | |
-| search_type | [string](#string) | | |
-| max_magnitude | [float](#float) | | |
-| n_of_neighbors_for_insertion_order | [int32](#int32) | | |
-| epsilon_for_insertion_order | [float](#float) | | |
-| refinement_object_type | [string](#string) | | |
-| truncation_threshold | [int32](#int32) | | |
-| edge_size_for_creation | [int32](#int32) | | |
-| edge_size_for_search | [int32](#int32) | | |
-| edge_size_limit_for_creation | [int32](#int32) | | |
-| insertion_radius_coefficient | [double](#double) | | |
-| seed_size | [int32](#int32) | | |
-| seed_type | [string](#string) | | |
-| truncation_thread_pool_size | [int32](#int32) | | |
-| batch_size_for_creation | [int32](#int32) | | |
-| graph_type | [string](#string) | | |
-| dynamic_edge_size_base | [int32](#int32) | | |
-| dynamic_edge_size_rate | [int32](#int32) | | |
-| build_time_limit | [float](#float) | | |
-| outgoing_edge | [int32](#int32) | | |
-| incoming_edge | [int32](#int32) | | |
+| Field | Type | Label | Description |
+| ------------- | -------------------------------------- | ----- | ------------------------------------ |
+| name | [string](#string) | | The name of the node. |
+| internal_addr | [string](#string) | | The internal IP address of the node. |
+| external_addr | [string](#string) | | The external IP address of the node. |
+| cpu | [Info.CPU](#payload-v1-Info-CPU) | | The CPU information of the node. |
+| memory | [Info.Memory](#payload-v1-Info-Memory) | | The memory information of the node. |
+| Pods | [Info.Pods](#payload-v1-Info-Pods) | | The pod information of the node. |
+
+### Info.Nodes
+Represent the multiple node information message.
+| Field | Type | Label | Description |
+| ----- | ---------------------------------- | -------- | ------------------------------ |
+| nodes | [Info.Node](#payload-v1-Info-Node) | repeated | The multiple node information. |
+
-
+### Info.Pod
-### Info.Index.PropertyDetail
-Represents index Properties for each Agents
+Represent the pod information message.
+| Field | Type | Label | Description |
+| --------- | -------------------------------------- | ----- | ------------------------------------- |
+| app_name | [string](#string) | | The app name of the pod on the label. |
+| name | [string](#string) | | The name of the pod. |
+| namespace | [string](#string) | | The namespace of the pod. |
+| ip | [string](#string) | | The IP of the pod. |
+| cpu | [Info.CPU](#payload-v1-Info-CPU) | | The CPU information of the pod. |
+| memory | [Info.Memory](#payload-v1-Info-Memory) | | The memory information of the pod. |
+| node | [Info.Node](#payload-v1-Info-Node) | | The node information of the pod. |
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| details | [Info.Index.PropertyDetail.DetailsEntry](#payload-v1-Info-Index-PropertyDetail-DetailsEntry) | repeated | |
+
+### Info.Pods
+Represent the multiple pod information message.
+| Field | Type | Label | Description |
+| ----- | -------------------------------- | -------- | ----------------------------- |
+| pods | [Info.Pod](#payload-v1-Info-Pod) | repeated | The multiple pod information. |
+
+### Info.Service
-
+Represent the service information message.
-### Info.Index.PropertyDetail.DetailsEntry
+| Field | Type | Label | Description |
+| ----------- | ------------------------------------------------ | -------- | ------------------------------- |
+| name | [string](#string) | | The name of the svc. |
+| cluster_ip | [string](#string) | | The cluster ip of the svc. |
+| cluster_ips | [string](#string) | repeated | The cluster ips of the svc. |
+| ports | [Info.ServicePort](#payload-v1-Info-ServicePort) | repeated | The port of the svc. |
+| labels | [Info.Labels](#payload-v1-Info-Labels) | | The labels of the service. |
+| annotations | [Info.Annotations](#payload-v1-Info-Annotations) | | The annotations of the service. |
+
+### Info.ServicePort
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| key | [string](#string) | | |
-| value | [Info.Index.Property](#payload-v1-Info-Index-Property) | | |
+Represets the service port information message.
+| Field | Type | Label | Description |
+| ----- | ----------------- | ----- | --------------------- |
+| name | [string](#string) | | The name of the port. |
+| port | [int32](#int32) | | The port number |
+
+### Info.Services
+Represent the multiple service information message.
+| Field | Type | Label | Description |
+| -------- | ---------------------------------------- | -------- | --------------------------------- |
+| services | [Info.Service](#payload-v1-Info-Service) | repeated | The multiple service information. |
-
+
-### Info.Index.Statistics
-Represents index Statistics
+### Insert
+Insert related messages.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| valid | [bool](#bool) | | |
-| median_indegree | [int32](#int32) | | |
-| median_outdegree | [int32](#int32) | | |
-| max_number_of_indegree | [uint64](#uint64) | | |
-| max_number_of_outdegree | [uint64](#uint64) | | |
-| min_number_of_indegree | [uint64](#uint64) | | |
-| min_number_of_outdegree | [uint64](#uint64) | | |
-| mode_indegree | [uint64](#uint64) | | |
-| mode_outdegree | [uint64](#uint64) | | |
-| nodes_skipped_for_10_edges | [uint64](#uint64) | | |
-| nodes_skipped_for_indegree_distance | [uint64](#uint64) | | |
-| number_of_edges | [uint64](#uint64) | | |
-| number_of_indexed_objects | [uint64](#uint64) | | |
-| number_of_nodes | [uint64](#uint64) | | |
-| number_of_nodes_without_edges | [uint64](#uint64) | | |
-| number_of_nodes_without_indegree | [uint64](#uint64) | | |
-| number_of_objects | [uint64](#uint64) | | |
-| number_of_removed_objects | [uint64](#uint64) | | |
-| size_of_object_repository | [uint64](#uint64) | | |
-| size_of_refinement_object_repository | [uint64](#uint64) | | |
-| variance_of_indegree | [double](#double) | | |
-| variance_of_outdegree | [double](#double) | | |
-| mean_edge_length | [double](#double) | | |
-| mean_edge_length_for_10_edges | [double](#double) | | |
-| mean_indegree_distance_for_10_edges | [double](#double) | | |
-| mean_number_of_edges_per_node | [double](#double) | | |
-| c1_indegree | [double](#double) | | |
-| c5_indegree | [double](#double) | | |
-| c95_outdegree | [double](#double) | | |
-| c99_outdegree | [double](#double) | | |
-| indegree_count | [int64](#int64) | repeated | |
-| outdegree_histogram | [uint64](#uint64) | repeated | |
-| indegree_histogram | [uint64](#uint64) | repeated | |
+
+### Insert.Config
+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. |
+
+### Insert.MultiObjectRequest
-
+Represent the multiple insert by binary object request.
-### Info.Index.StatisticsDetail
-Represents index Statistics for each Agents
+| Field | Type | Label | Description |
+| -------- | -------------------------------------------------------- | -------- | -------------------------------------------- |
+| requests | [Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest) | repeated | Represent multiple insert by object content. |
+
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| details | [Info.Index.StatisticsDetail.DetailsEntry](#payload-v1-Info-Index-StatisticsDetail-DetailsEntry) | repeated | count infos for each agents |
+### Insert.MultiRequest
+Represent the multiple insert request.
+| Field | Type | Label | Description |
+| -------- | -------------------------------------------- | -------- | ------------------------------------------ |
+| requests | [Insert.Request](#payload-v1-Insert-Request) | repeated | Represent multiple insert request content. |
+
+### Insert.ObjectRequest
+Represent the insert by binary object request.
-
+| Field | Type | Label | Description |
+| ---------- | ------------------------------------------ | ----- | ---------------------------------------- |
+| object | [Object.Blob](#payload-v1-Object-Blob) | | The binary object to be inserted. |
+| config | [Insert.Config](#payload-v1-Insert-Config) | | The configuration of the insert request. |
+| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter configurations. |
-### Info.Index.StatisticsDetail.DetailsEntry
+
+### Insert.Request
+Represent the insert request.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| key | [string](#string) | | |
-| value | [Info.Index.Statistics](#payload-v1-Info-Index-Statistics) | | |
+| Field | Type | Label | Description |
+| ------ | ------------------------------------------ | ----- | ---------------------------------------- |
+| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector to be inserted. |
+| config | [Insert.Config](#payload-v1-Insert-Config) | | The configuration of the insert request. |
+
+### Meta
+
+### Meta.Key
+| Field | Type | Label | Description |
+| ----- | ----------------- | ----- | ----------- |
+| key | [string](#string) | | |
-
+
-### Info.Index.UUID
-Represent the UUID message.
+### Meta.KeyValue
+| Field | Type | Label | Description |
+| ----- | ------------------------------------ | ----- | ----------- |
+| key | [Meta.Key](#payload-v1-Meta-Key) | | |
+| value | [Meta.Value](#payload-v1-Meta-Value) | | |
+
+### Meta.Value
+| Field | Type | Label | Description |
+| ----- | ------------------------------------------- | ----- | ----------- |
+| value | [google.protobuf.Any](#google-protobuf-Any) | | |
+
-
+### Mirror
-### Info.Index.UUID.Committed
-The committed UUID.
+Mirror related messages.
+
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| uuid | [string](#string) | | |
+### Mirror.Target
+Represent server information.
+| Field | Type | Label | Description |
+| ----- | ----------------- | ----- | -------------------- |
+| host | [string](#string) | | The target hostname. |
+| port | [uint32](#uint32) | | The target port. |
+
+### Mirror.Targets
+Represent the multiple Target message.
-
+| Field | Type | Label | Description |
+| ------- | ------------------------------------------ | -------- | -------------------------------- |
+| targets | [Mirror.Target](#payload-v1-Mirror-Target) | repeated | The multiple target information. |
-### Info.Index.UUID.Uncommitted
-The uncommitted UUID.
+
+### Object
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| uuid | [string](#string) | | |
+Common messages.
+
+### Object.Blob
+Represent the binary object.
+| Field | Type | Label | Description |
+| ------ | ----------------- | ----- | ------------------ |
+| id | [string](#string) | | The object ID. |
+| object | [bytes](#bytes) | | The binary object. |
+
-
+### Object.Distance
-### Info.Labels
-Represent the kubernetes labels.
+Represent the ID and distance pair.
+| Field | Type | Label | Description |
+| -------- | ----------------- | ----- | -------------- |
+| id | [string](#string) | | The vector ID. |
+| distance | [float](#float) | | The distance. |
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| labels | [Info.Labels.LabelsEntry](#payload-v1-Info-Labels-LabelsEntry) | repeated | |
+
+### Object.ID
+Represent the vector ID.
+| Field | Type | Label | Description |
+| ----- | ----------------- | ----- | ----------- |
+| id | [string](#string) | | |
+
+### Object.IDs
-
-
-### Info.Labels.LabelsEntry
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| key | [string](#string) | | |
-| value | [string](#string) | | |
-
-
-
-
-
-
-
-
-### Info.Memory
-Represent the memory information message.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| limit | [double](#double) | | The memory limit. |
-| request | [double](#double) | | The memory requested. |
-| usage | [double](#double) | | The memory usage. |
-
-
-
-
-
-
-
-
-### Info.Node
-Represent the node information message.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the node. |
-| internal_addr | [string](#string) | | The internal IP address of the node. |
-| external_addr | [string](#string) | | The external IP address of the node. |
-| cpu | [Info.CPU](#payload-v1-Info-CPU) | | The CPU information of the node. |
-| memory | [Info.Memory](#payload-v1-Info-Memory) | | The memory information of the node. |
-| Pods | [Info.Pods](#payload-v1-Info-Pods) | | The pod information of the node. |
-
-
-
-
-
-
-
-
-### Info.Nodes
-Represent the multiple node information message.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| nodes | [Info.Node](#payload-v1-Info-Node) | repeated | The multiple node information. |
-
-
-
-
-
-
-
-
-### Info.Pod
-Represent the pod information message.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| app_name | [string](#string) | | The app name of the pod on the label. |
-| name | [string](#string) | | The name of the pod. |
-| namespace | [string](#string) | | The namespace of the pod. |
-| ip | [string](#string) | | The IP of the pod. |
-| cpu | [Info.CPU](#payload-v1-Info-CPU) | | The CPU information of the pod. |
-| memory | [Info.Memory](#payload-v1-Info-Memory) | | The memory information of the pod. |
-| node | [Info.Node](#payload-v1-Info-Node) | | The node information of the pod. |
-
-
-
-
-
-
-
-
-### Info.Pods
-Represent the multiple pod information message.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| pods | [Info.Pod](#payload-v1-Info-Pod) | repeated | The multiple pod information. |
-
-
-
-
-
-
-
-
-### Info.Service
-Represent the service information message.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the svc. |
-| cluster_ip | [string](#string) | | The cluster ip of the svc. |
-| cluster_ips | [string](#string) | repeated | The cluster ips of the svc. |
-| ports | [Info.ServicePort](#payload-v1-Info-ServicePort) | repeated | The port of the svc. |
-| labels | [Info.Labels](#payload-v1-Info-Labels) | | The labels of the service. |
-| annotations | [Info.Annotations](#payload-v1-Info-Annotations) | | The annotations of the service. |
-
-
-
-
-
-
-
-
-### Info.ServicePort
-Represets the service port information message.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the port. |
-| port | [int32](#int32) | | The port number |
-
-
-
-
-
-
-
-
-### Info.Services
-Represent the multiple service information message.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| services | [Info.Service](#payload-v1-Info-Service) | repeated | The multiple service information. |
-
-
-
-
-
-
-
-
-### Insert
-Insert related messages.
-
-
-
-
-
-
-
-
-### Insert.Config
-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. |
-
-
-
-
-
-
-
-
-### Insert.MultiObjectRequest
-Represent the multiple insert by binary object request.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| requests | [Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest) | repeated | Represent multiple insert by object content. |
-
-
-
-
-
-
-
-
-### Insert.MultiRequest
-Represent the multiple insert request.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| requests | [Insert.Request](#payload-v1-Insert-Request) | repeated | Represent multiple insert request content. |
-
-
-
-
-
-
-
-
-### Insert.ObjectRequest
-Represent the insert by binary object request.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| object | [Object.Blob](#payload-v1-Object-Blob) | | The binary object to be inserted. |
-| config | [Insert.Config](#payload-v1-Insert-Config) | | The configuration of the insert request. |
-| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter configurations. |
-
-
-
-
-
-
-
-
-### Insert.Request
-Represent the insert request.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector to be inserted. |
-| config | [Insert.Config](#payload-v1-Insert-Config) | | The configuration of the insert request. |
-
-
-
-
-
-
-
-
-### Meta
-
-
-
-
-
-
-
-
-
-### Meta.Key
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| key | [string](#string) | | |
-
-
-
-
-
-
-
-
-### Meta.KeyValue
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| key | [Meta.Key](#payload-v1-Meta-Key) | | |
-| value | [Meta.Value](#payload-v1-Meta-Value) | | |
-
-
-
-
-
-
-
-
-### Meta.Value
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| value | [google.protobuf.Any](#google-protobuf-Any) | | |
-
-
-
-
-
-
-
-
-### Mirror
-Mirror related messages.
-
-
-
-
-
-
-
-
-### Mirror.Target
-Represent server information.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| host | [string](#string) | | The target hostname. |
-| port | [uint32](#uint32) | | The target port. |
-
-
-
-
-
-
-
-
-### Mirror.Targets
-Represent the multiple Target message.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| targets | [Mirror.Target](#payload-v1-Mirror-Target) | repeated | The multiple target information. |
-
-
-
-
-
-
-
-
-### Object
-Common messages.
-
-
-
-
-
-
-
-
-### Object.Blob
-Represent the binary object.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| id | [string](#string) | | The object ID. |
-| object | [bytes](#bytes) | | The binary object. |
-
-
-
-
-
-
-
-
-### Object.Distance
-Represent the ID and distance pair.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| id | [string](#string) | | The vector ID. |
-| distance | [float](#float) | | The distance. |
-
-
-
-
-
-
-
-
-### Object.ID
-Represent the vector ID.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| id | [string](#string) | | |
-
-
-
-
-
-
-
-
-### Object.IDs
Represent multiple vector IDs.
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| ids | [string](#string) | repeated | |
-
-
-
-
-
+| Field | Type | Label | Description |
+| ----- | ----------------- | -------- | ----------- |
+| ids | [string](#string) | repeated | |
### Object.List
-Represent the list object vector stream request and response.
-
-
-
-
+Represent the list object vector stream request and response.
### Object.List.Request
-
-
-
-
-
-
### Object.List.Response
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector |
-| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. |
-
-
-
-
-
+| Field | Type | Label | Description |
+| ------ | ------------------------------------------ | ----- | --------------------- |
+| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector |
+| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. |
### Object.Location
-Represent the vector location.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the location. |
-| uuid | [string](#string) | | The UUID of the vector. |
-| ips | [string](#string) | repeated | The IP list. |
-
-
-
+Represent the vector location.
+| Field | Type | Label | Description |
+| ----- | ----------------- | -------- | ------------------------- |
+| name | [string](#string) | | The name of the location. |
+| uuid | [string](#string) | | The UUID of the vector. |
+| ips | [string](#string) | repeated | The IP list. |
### Object.Locations
-Represent multiple vector locations.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| locations | [Object.Location](#payload-v1-Object-Location) | repeated | |
-
-
-
+Represent multiple vector locations.
+| Field | Type | Label | Description |
+| --------- | ---------------------------------------------- | -------- | ----------- |
+| locations | [Object.Location](#payload-v1-Object-Location) | repeated | |
### Object.ReshapeVector
-Represent reshape vector.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| object | [bytes](#bytes) | | The binary object. |
-| shape | [int32](#int32) | repeated | The new shape. |
-
-
-
+Represent reshape vector.
+| Field | Type | Label | Description |
+| ------ | --------------- | -------- | ------------------ |
+| object | [bytes](#bytes) | | The binary object. |
+| shape | [int32](#int32) | repeated | The new shape. |
### Object.StreamBlob
-Represent stream response of binary objects.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| blob | [Object.Blob](#payload-v1-Object-Blob) | | The binary object. |
-| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. |
-
-
-
+Represent stream response of binary objects.
+| Field | Type | Label | Description |
+| ------ | --------------------------------------- | ----- | --------------------- |
+| blob | [Object.Blob](#payload-v1-Object-Blob) | | The binary object. |
+| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. |
### Object.StreamDistance
-Represent stream response of distances.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| distance | [Object.Distance](#payload-v1-Object-Distance) | | The distance. |
-| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. |
-
-
-
+Represent stream response of distances.
+| Field | Type | Label | Description |
+| -------- | ---------------------------------------------- | ----- | --------------------- |
+| distance | [Object.Distance](#payload-v1-Object-Distance) | | The distance. |
+| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. |
### Object.StreamLocation
-Represent the stream response of the vector location.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| location | [Object.Location](#payload-v1-Object-Location) | | The vector location. |
-| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. |
-
-
-
+Represent the stream response of the vector location.
+| Field | Type | Label | Description |
+| -------- | ---------------------------------------------- | ----- | --------------------- |
+| location | [Object.Location](#payload-v1-Object-Location) | | The vector location. |
+| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. |
### Object.StreamVector
-Represent stream response of the vector.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector. |
-| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. |
-
-
-
+Represent stream response of the vector.
+| Field | Type | Label | Description |
+| ------ | ------------------------------------------ | ----- | --------------------- |
+| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector. |
+| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. |
### Object.Timestamp
-Represent a vector meta data.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| id | [string](#string) | | The vector ID. |
-| timestamp | [int64](#int64) | | timestamp represents when this vector inserted. |
-
-
-
+Represent a vector meta data.
+| Field | Type | Label | Description |
+| --------- | ----------------- | ----- | ----------------------------------------------- |
+| id | [string](#string) | | The vector ID. |
+| timestamp | [int64](#int64) | | timestamp represents when this vector inserted. |
### Object.TimestampRequest
-Represent a request to fetch vector meta data.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| id | [Object.ID](#payload-v1-Object-ID) | | The vector ID to be fetched. |
-
-
-
+Represent a request to fetch vector meta data.
+| Field | Type | Label | Description |
+| ----- | ---------------------------------- | ----- | ---------------------------- |
+| id | [Object.ID](#payload-v1-Object-ID) | | The vector ID to be fetched. |
### Object.Vector
-Represent a vector.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| id | [string](#string) | | The vector ID. |
-| vector | [float](#float) | repeated | The vector. |
-| timestamp | [int64](#int64) | | timestamp represents when this vector inserted. |
-
-
-
-
-
-
-
-
-### Object.VectorRequest
-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. |
-
-
-
-
-
-
-
-
-### Object.Vectors
-Represent multiple vectors.
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| vectors | [Object.Vector](#payload-v1-Object-Vector) | repeated | |
+Represent a vector.
+| Field | Type | Label | Description |
+| --------- | ----------------- | -------- | ----------------------------------------------- |
+| id | [string](#string) | | The vector ID. |
+| vector | [float](#float) | repeated | The vector. |
+| timestamp | [int64](#int64) | | timestamp represents when this vector inserted. |
+
+### Object.VectorRequest
+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. |
-
+
-### Remove
-Remove related messages.
+### Object.Vectors
+Represent multiple vectors.
+| Field | Type | Label | Description |
+| ------- | ------------------------------------------ | -------- | ----------- |
+| vectors | [Object.Vector](#payload-v1-Object-Vector) | repeated | |
+
+### Remove
+Remove related messages.
### Remove.Config
-Represent the remove configuration.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during upsert operation. |
-| timestamp | [int64](#int64) | | Remove timestamp. |
-
-
-
+Represent the remove configuration.
+| Field | Type | Label | Description |
+| ----------------------- | --------------- | ----- | --------------------------------------------------- |
+| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during upsert operation. |
+| timestamp | [int64](#int64) | | Remove timestamp. |
### Remove.MultiRequest
-Represent the multiple remove request.
+Represent the multiple remove request.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| -------- | -------------------------------------------- | -------- | ---------------------------------------------- |
| requests | [Remove.Request](#payload-v1-Remove-Request) | repeated | Represent the multiple remove request content. |
-
-
-
-
-
### Remove.Request
-Represent the remove request.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| id | [Object.ID](#payload-v1-Object-ID) | | The object ID to be removed. |
-| config | [Remove.Config](#payload-v1-Remove-Config) | | The configuration of the remove request. |
-
-
-
+Represent the remove request.
+| Field | Type | Label | Description |
+| ------ | ------------------------------------------ | ----- | ---------------------------------------- |
+| id | [Object.ID](#payload-v1-Object-ID) | | The object ID to be removed. |
+| config | [Remove.Config](#payload-v1-Remove-Config) | | The configuration of the remove request. |
### Remove.Timestamp
-Represent the timestamp comparison.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| timestamp | [int64](#int64) | | The timestamp. |
-| operator | [Remove.Timestamp.Operator](#payload-v1-Remove-Timestamp-Operator) | | The conditional operator. |
-
-
-
+Represent the timestamp comparison.
+| Field | Type | Label | Description |
+| --------- | ------------------------------------------------------------------ | ----- | ------------------------- |
+| timestamp | [int64](#int64) | | The timestamp. |
+| operator | [Remove.Timestamp.Operator](#payload-v1-Remove-Timestamp-Operator) | | The conditional operator. |
### Remove.TimestampRequest
-Represent the remove request based on timestamp.
+Represent the remove request based on timestamp.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| ---------- | ------------------------------------------------ | -------- | ------------------------------------------------------------------------------------------ |
| timestamps | [Remove.Timestamp](#payload-v1-Remove-Timestamp) | repeated | The timestamp comparison list. If more than one is specified, the `AND` search is applied. |
-
-
-
-
-
### Search
-Search related messages.
-
-
-
-
+Search related messages.
### Search.Config
-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. |
-
-
-
+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. |
### Search.IDRequest
-Represent a search by ID request.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| id | [string](#string) | | The vector ID to be searched. |
-| config | [Search.Config](#payload-v1-Search-Config) | | The configuration of the search request. |
-
-
-
+Represent a search by ID request.
+| Field | Type | Label | Description |
+| ------ | ------------------------------------------ | ----- | ---------------------------------------- |
+| id | [string](#string) | | The vector ID to be searched. |
+| config | [Search.Config](#payload-v1-Search-Config) | | The configuration of the search request. |
### Search.MultiIDRequest
-Represent the multiple search by ID request.
+Represent the multiple search by ID request.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| -------- | ------------------------------------------------ | -------- | ---------------------------------------------------- |
| requests | [Search.IDRequest](#payload-v1-Search-IDRequest) | repeated | Represent the multiple search by ID request content. |
-
-
-
-
-
### Search.MultiObjectRequest
-Represent the multiple search by binary object request.
+Represent the multiple search by binary object request.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| -------- | -------------------------------------------------------- | -------- | --------------------------------------------------------------- |
| requests | [Search.ObjectRequest](#payload-v1-Search-ObjectRequest) | repeated | Represent the multiple search by binary object request content. |
-
-
-
-
-
### Search.MultiRequest
-Represent the multiple search request.
+Represent the multiple search request.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| -------- | -------------------------------------------- | -------- | ---------------------------------------------- |
| requests | [Search.Request](#payload-v1-Search-Request) | repeated | Represent the multiple search request content. |
-
-
-
-
-
### Search.ObjectRequest
-Represent a search by binary object request.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| object | [bytes](#bytes) | | The binary object to be searched. |
-| config | [Search.Config](#payload-v1-Search-Config) | | The configuration of the search request. |
-| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter configuration. |
-
-
-
+Represent a search by binary object request.
+| Field | Type | Label | Description |
+| ---------- | ------------------------------------------ | ----- | ---------------------------------------- |
+| object | [bytes](#bytes) | | The binary object to be searched. |
+| config | [Search.Config](#payload-v1-Search-Config) | | The configuration of the search request. |
+| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter configuration. |
### Search.Request
-Represent a search request.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| vector | [float](#float) | repeated | The vector to be searched. |
-| config | [Search.Config](#payload-v1-Search-Config) | | The configuration of the search request. |
-
-
-
+Represent a search request.
+| Field | Type | Label | Description |
+| ------ | ------------------------------------------ | -------- | ---------------------------------------- |
+| vector | [float](#float) | repeated | The vector to be searched. |
+| config | [Search.Config](#payload-v1-Search-Config) | | The configuration of the search request. |
### Search.Response
-Represent a search response.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| request_id | [string](#string) | | The unique request ID. |
-| results | [Object.Distance](#payload-v1-Object-Distance) | repeated | Search results. |
-
-
-
+Represent a search response.
+| Field | Type | Label | Description |
+| ---------- | ---------------------------------------------- | -------- | ---------------------- |
+| request_id | [string](#string) | | The unique request ID. |
+| results | [Object.Distance](#payload-v1-Object-Distance) | repeated | Search results. |
### Search.Responses
-Represent multiple search responses.
+Represent multiple search responses.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| --------- | ---------------------------------------------- | -------- | ----------------------------------------------- |
| responses | [Search.Response](#payload-v1-Search-Response) | repeated | Represent the multiple search response content. |
-
-
-
-
-
### Search.StreamResponse
-Represent stream search response.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| response | [Search.Response](#payload-v1-Search-Response) | | Represent the search response. |
-| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. |
-
-
-
+Represent stream search response.
+| Field | Type | Label | Description |
+| -------- | ---------------------------------------------- | ----- | ------------------------------ |
+| response | [Search.Response](#payload-v1-Search-Response) | | Represent the search response. |
+| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. |
### Update
-Update related messages
-
-
-
-
+Update related messages
### Update.Config
-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. |
-
-
-
+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. |
### Update.MultiObjectRequest
-Represent the multiple update binary object request.
+Represent the multiple update binary object request.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| -------- | -------------------------------------------------------- | -------- | ----------------------------------------------------- |
| requests | [Update.ObjectRequest](#payload-v1-Update-ObjectRequest) | repeated | Represent the multiple update object request content. |
-
-
-
-
-
### Update.MultiRequest
-Represent the multiple update request.
+Represent the multiple update request.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| -------- | -------------------------------------------- | -------- | ---------------------------------------------- |
| requests | [Update.Request](#payload-v1-Update-Request) | repeated | Represent the multiple update request content. |
-
-
-
-
-
### Update.ObjectRequest
-Represent the update binary object request.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| object | [Object.Blob](#payload-v1-Object-Blob) | | The binary object to be updated. |
-| config | [Update.Config](#payload-v1-Update-Config) | | The configuration of the update request. |
-| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter target. |
-
-
-
+Represent the update binary object request.
+| Field | Type | Label | Description |
+| ---------- | ------------------------------------------ | ----- | ---------------------------------------- |
+| object | [Object.Blob](#payload-v1-Object-Blob) | | The binary object to be updated. |
+| config | [Update.Config](#payload-v1-Update-Config) | | The configuration of the update request. |
+| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter target. |
### Update.Request
-Represent the update request.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector to be updated. |
-| config | [Update.Config](#payload-v1-Update-Config) | | The configuration of the update request. |
-
-
-
+Represent the update request.
+| Field | Type | Label | Description |
+| ------ | ------------------------------------------ | ----- | ---------------------------------------- |
+| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector to be updated. |
+| config | [Update.Config](#payload-v1-Update-Config) | | The configuration of the update request. |
### Upsert
-Upsert related messages.
-
-
-
-
+Upsert related messages.
### Upsert.Config
-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. |
-
-
-
+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. |
### Upsert.MultiObjectRequest
-Represent the multiple upsert binary object request.
+Represent the multiple upsert binary object request.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| -------- | -------------------------------------------------------- | -------- | ----------------------------------------------------- |
| requests | [Upsert.ObjectRequest](#payload-v1-Upsert-ObjectRequest) | repeated | Represent the multiple upsert object request content. |
-
-
-
-
-
### Upsert.MultiRequest
-Represent mthe ultiple upsert request.
+Represent mthe ultiple upsert request.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| -------- | -------------------------------------------- | -------- | ---------------------------------------------- |
| requests | [Upsert.Request](#payload-v1-Upsert-Request) | repeated | Represent the multiple upsert request content. |
-
-
-
-
-
### Upsert.ObjectRequest
-Represent the upsert binary object request.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| object | [Object.Blob](#payload-v1-Object-Blob) | | The binary object to be upserted. |
-| config | [Upsert.Config](#payload-v1-Upsert-Config) | | The configuration of the upsert request. |
-| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter target. |
-
-
-
+Represent the upsert binary object request.
+| Field | Type | Label | Description |
+| ---------- | ------------------------------------------ | ----- | ---------------------------------------- |
+| object | [Object.Blob](#payload-v1-Object-Blob) | | The binary object to be upserted. |
+| config | [Upsert.Config](#payload-v1-Upsert-Config) | | The configuration of the upsert request. |
+| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter target. |
### Upsert.Request
-Represent the upsert request.
+Represent the upsert request.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector to be upserted. |
-| config | [Upsert.Config](#payload-v1-Upsert-Config) | | The configuration of the upsert request. |
-
-
-
-
-
-
-
+| Field | Type | Label | Description |
+| ------ | ------------------------------------------ | ----- | ---------------------------------------- |
+| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector to be upserted. |
+| config | [Upsert.Config](#payload-v1-Upsert-Config) | | The configuration of the upsert request. |
### Remove.Timestamp.Operator
-Operator is enum of each conditional operator.
-
-| Name | Number | Description |
-| ---- | ------ | ----------- |
-| Eq | 0 | The timestamp is equal to the specified value in the request. |
-| Ne | 1 | The timestamp is not equal to the specified value in the request. |
-| Ge | 2 | The timestamp is greater than or equal to the specified value in the request. |
-| Gt | 3 | The timestamp is greater than the specified value in the request. |
-| Le | 4 | The timestamp is less than or equal to the specified value in the request. |
-| Lt | 5 | The timestamp is less than the specified value in the request. |
+Operator is enum of each conditional operator.
+| Name | Number | Description |
+| ---- | ------ | ----------------------------------------------------------------------------- |
+| Eq | 0 | The timestamp is equal to the specified value in the request. |
+| Ne | 1 | The timestamp is not equal to the specified value in the request. |
+| Ge | 2 | The timestamp is greater than or equal to the specified value in the request. |
+| Gt | 3 | The timestamp is greater than the specified value in the request. |
+| Le | 4 | The timestamp is less than or equal to the specified value in the request. |
+| Lt | 5 | The timestamp is less than the specified value in the request. |
### Search.AggregationAlgorithm
-AggregationAlgorithm is enum of each aggregation algorithms
-
-| Name | Number | Description |
-| ---- | ------ | ----------- |
-| Unknown | 0 | |
-| ConcurrentQueue | 1 | |
-| SortSlice | 2 | |
-| SortPoolSlice | 3 | |
-| PairingHeap | 4 | |
-
-
-
-
-
-
-
+AggregationAlgorithm is enum of each aggregation algorithms
+| Name | Number | Description |
+| --------------- | ------ | ----------- |
+| Unknown | 0 | |
+| ConcurrentQueue | 1 | |
+| SortSlice | 2 | |
+| SortPoolSlice | 3 | |
+| PairingHeap | 4 | |
+
Top
## v1/agent/core/agent.proto
-
-
-
-
-
-
-
-
### Agent
+
Represent the agent service.
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-| CreateIndex | [.payload.v1.Control.CreateIndexRequest](#payload-v1-Control-CreateIndexRequest) | [.payload.v1.Empty](#payload-v1-Empty) | Represent the creating index RPC. |
-| SaveIndex | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Empty](#payload-v1-Empty) | Represent the saving index RPC. |
+| Method Name | Request Type | Response Type | Description |
+| ------------------ | -------------------------------------------------------------------------------- | -------------------------------------- | -------------------------------------------- |
+| CreateIndex | [.payload.v1.Control.CreateIndexRequest](#payload-v1-Control-CreateIndexRequest) | [.payload.v1.Empty](#payload-v1-Empty) | Represent the creating index RPC. |
+| SaveIndex | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Empty](#payload-v1-Empty) | Represent the saving index RPC. |
| CreateAndSaveIndex | [.payload.v1.Control.CreateIndexRequest](#payload-v1-Control-CreateIndexRequest) | [.payload.v1.Empty](#payload-v1-Empty) | Represent the creating and saving index RPC. |
-
-
-
-
+
Top
## v1/agent/sidecar/sidecar.proto
-
-
-
-
-
-
-
-
### Sidecar
+
Represent the agent sidecar service.
| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-
-
-
-
+| ----------- | ------------ | ------------- | ----------- |
+
Top
## v1/discoverer/discoverer.proto
-
-
-
-
-
-
-
-
-### Discoverer
-Represent the discoverer service.
-
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-| Pods | [.payload.v1.Discoverer.Request](#payload-v1-Discoverer-Request) | [.payload.v1.Info.Pods](#payload-v1-Info-Pods) | Represent the RPC to get the agent pods information. |
-| Nodes | [.payload.v1.Discoverer.Request](#payload-v1-Discoverer-Request) | [.payload.v1.Info.Nodes](#payload-v1-Info-Nodes) | Represent the RPC to get the node information. |
-| Services | [.payload.v1.Discoverer.Request](#payload-v1-Discoverer-Request) | [.payload.v1.Info.Services](#payload-v1-Info-Services) | Represent the RPC to get the readreplica svc information. |
-
-
-
-
-
-
-Top
-
-## v1/filter/egress/egress_filter.proto
+### Discoverer
+Represent the discoverer service.
-
+| Method Name | Request Type | Response Type | Description |
+| ----------- | ---------------------------------------------------------------- | ------------------------------------------------------ | --------------------------------------------------------- |
+| Pods | [.payload.v1.Discoverer.Request](#payload-v1-Discoverer-Request) | [.payload.v1.Info.Pods](#payload-v1-Info-Pods) | Represent the RPC to get the agent pods information. |
+| Nodes | [.payload.v1.Discoverer.Request](#payload-v1-Discoverer-Request) | [.payload.v1.Info.Nodes](#payload-v1-Info-Nodes) | Represent the RPC to get the node information. |
+| Services | [.payload.v1.Discoverer.Request](#payload-v1-Discoverer-Request) | [.payload.v1.Info.Services](#payload-v1-Info-Services) | Represent the RPC to get the readreplica svc information. |
-
+
-
+Top
+## v1/filter/egress/egress_filter.proto
### Filter
+
Represent the egress filter service.
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
+| 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. |
-
-
-
-
+| FilterVector | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | Represent the RPC to filter the vector. |
+
Top
## v1/filter/ingress/ingress_filter.proto
-
-
-
-
-
-
-
-
### Filter
-Represent the ingress filter service.
-
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-| GenVector | [.payload.v1.Object.Blob](#payload-v1-Object-Blob) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | Represent the RPC to generate the vector. |
-| FilterVector | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | Represent the RPC to filter the vector. |
-
-
+Represent the ingress filter service.
+| Method Name | Request Type | Response Type | Description |
+| ------------ | ------------------------------------------------------ | ------------------------------------------------------ | ----------------------------------------- |
+| GenVector | [.payload.v1.Object.Blob](#payload-v1-Object-Blob) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | Represent the RPC to generate the vector. |
+| FilterVector | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | Represent the RPC to filter the vector. |
+
Top
## v1/meta/meta.proto
-
-
-
-
-
-
-
-
### Meta
-
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-| Get | [.payload.v1.Meta.Key](#payload-v1-Meta-Key) | [.payload.v1.Meta.Value](#payload-v1-Meta-Value) | |
-| Set | [.payload.v1.Meta.KeyValue](#payload-v1-Meta-KeyValue) | [.payload.v1.Empty](#payload-v1-Empty) | |
-| Delete | [.payload.v1.Meta.Key](#payload-v1-Meta-Key) | [.payload.v1.Empty](#payload-v1-Empty) | |
-
-
-
-
+| Method Name | Request Type | Response Type | Description |
+| ----------- | ------------------------------------------------------ | ------------------------------------------------ | ----------- |
+| Get | [.payload.v1.Meta.Key](#payload-v1-Meta-Key) | [.payload.v1.Meta.Value](#payload-v1-Meta-Value) | |
+| Set | [.payload.v1.Meta.KeyValue](#payload-v1-Meta-KeyValue) | [.payload.v1.Empty](#payload-v1-Empty) | |
+| Delete | [.payload.v1.Meta.Key](#payload-v1-Meta-Key) | [.payload.v1.Empty](#payload-v1-Empty) | |
+
Top
## v1/mirror/mirror.proto
+
Copyright (C) 2019-2024 vdaas.org vald team <vald@vdaas.org>
Licensed under the Apache License, Version 2.0 (the "License");
You may not use this file except in compliance with the License.
You may obtain a copy of the License at
- https://www.apache.org/licenses/LICENSE-2.0
+https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
@@ -1961,100 +1366,75 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-
-
-
-
-
-
-
### Mirror
-Represent the mirror service.
-
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-| Register | [.payload.v1.Mirror.Targets](#payload-v1-Mirror-Targets) | [.payload.v1.Mirror.Targets](#payload-v1-Mirror-Targets) | Register is the RPC to register other mirror servers. |
-
-
+Represent the mirror service.
+| Method Name | Request Type | Response Type | Description |
+| ----------- | -------------------------------------------------------- | -------------------------------------------------------- | ----------------------------------------------------- |
+| Register | [.payload.v1.Mirror.Targets](#payload-v1-Mirror-Targets) | [.payload.v1.Mirror.Targets](#payload-v1-Mirror-Targets) | Register is the RPC to register other mirror servers. |
+
Top
## v1/rpc/errdetails/error_details.proto
-
-
### BadRequest
+
Describes violations in a client request. This error type focuses on the
syntactic aspects of the request.
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| ---------------- | -------------------------------------------------------------- | -------- | --------------------------------------------- |
| field_violations | [BadRequest.FieldViolation](#rpc-v1-BadRequest-FieldViolation) | repeated | Describes all violations in a client request. |
-
-
-
-
-
### BadRequest.FieldViolation
-A message type used to describe a single bad request field.
+A message type used to describe a single bad request field.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| field | [string](#string) | | A path that leads to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field.
+| Field | Type | Label | Description |
+| ----- | ----------------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
+| field | [string](#string) | | A path that leads to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. |
Consider the following:
- message CreateContactRequest { message EmailAddress { enum Type { TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; }
+message CreateContactRequest { message EmailAddress { enum Type { TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; }
- optional string email = 1; repeated EmailType type = 2; }
+optional string email = 1; repeated EmailType type = 2; }
- string full_name = 1; repeated EmailAddress email_addresses = 2; }
+string full_name = 1; repeated EmailAddress email_addresses = 2; }
In this example, in proto `field` could take one of the following values:
-* `full_name` for a violation in the `full_name` value * `email_addresses[1].email` for a violation in the `email` field of the first `email_addresses` message * `email_addresses[3].type[2]` for a violation in the second `type` value in the third `email_addresses` message.
+- `full_name` for a violation in the `full_name` value _ `email_addresses[1].email` for a violation in the `email` field of the first `email_addresses` message _ `email_addresses[3].type[2]` for a violation in the second `type` value in the third `email_addresses` message.
In JSON, the same values are represented as:
-* `fullName` for a violation in the `fullName` value * `emailAddresses[1].email` for a violation in the `email` field of the first `emailAddresses` message * `emailAddresses[3].type[2]` for a violation in the second `type` value in the third `emailAddresses` message. |
-| description | [string](#string) | | A description of why the request element is bad. |
-
-
-
-
-
+- `fullName` for a violation in the `fullName` value _ `emailAddresses[1].email` for a violation in the `email` field of the first `emailAddresses` message _ `emailAddresses[3].type[2]` for a violation in the second `type` value in the third `emailAddresses` message. |
+ | description | [string](#string) | | A description of why the request element is bad. |
### DebugInfo
-Describes additional debugging info.
+Describes additional debugging info.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| ------------- | ----------------- | -------- | ------------------------------------------------------------ |
| stack_entries | [string](#string) | repeated | The stack trace entries indicating where the error occurred. |
-| detail | [string](#string) | | Additional debugging information provided by the server. |
-
-
-
-
-
+| detail | [string](#string) | | Additional debugging information provided by the server. |
### ErrorInfo
+
Describes the cause of the error with structured details.
Example of an error when contacting the "pubsub.googleapis.com" API when it
@@ -2080,134 +1460,97 @@ instance in a region that is out of stock:
}
}
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| reason | [string](#string) | | The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents UPPER_SNAKE_CASE. |
-| domain | [string](#string) | | The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com". |
-| metadata | [ErrorInfo.MetadataEntry](#rpc-v1-ErrorInfo-MetadataEntry) | repeated | Additional structured details about this error.
+| Field | Type | Label | Description |
+| -------- | ---------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| reason | [string](#string) | | The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents UPPER_SNAKE_CASE. |
+| domain | [string](#string) | | The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com". |
+| metadata | [ErrorInfo.MetadataEntry](#rpc-v1-ErrorInfo-MetadataEntry) | repeated | Additional structured details about this error. |
Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request. |
-
-
-
-
-
### ErrorInfo.MetadataEntry
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| key | [string](#string) | | |
-| value | [string](#string) | | |
-
-
-
-
-
+| Field | Type | Label | Description |
+| ----- | ----------------- | ----- | ----------- |
+| key | [string](#string) | | |
+| value | [string](#string) | | |
### Help
+
Provides links to documentation or for performing an out of band action.
For example, if a quota check failed with an error indicating the calling
project hasn't enabled the accessed service, this can contain a URL pointing
directly to the right place in the developer console to flip the bit.
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| ----- | ------------------------------ | -------- | ------------------------------------------------------------------------ |
| links | [Help.Link](#rpc-v1-Help-Link) | repeated | URL(s) pointing to additional information on handling the current error. |
-
-
-
-
-
### Help.Link
-Describes a URL link.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| description | [string](#string) | | Describes what the link offers. |
-| url | [string](#string) | | The URL of the link. |
-
-
-
+Describes a URL link.
+| Field | Type | Label | Description |
+| ----------- | ----------------- | ----- | ------------------------------- |
+| description | [string](#string) | | Describes what the link offers. |
+| url | [string](#string) | | The URL of the link. |
### LocalizedMessage
+
Provides a localized error message that is safe to return to the user
which can be attached to an RPC error.
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| locale | [string](#string) | | The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX" |
-| message | [string](#string) | | The localized error message in the above locale. |
-
-
-
-
-
+| Field | Type | Label | Description |
+| ------- | ----------------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| locale | [string](#string) | | The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX" |
+| message | [string](#string) | | The localized error message in the above locale. |
### PreconditionFailure
+
Describes what preconditions have failed.
For example, if an RPC failed because it required the Terms of Service to be
acknowledged, it could list the terms of service violation in the
PreconditionFailure message.
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| ---------- | ---------------------------------------------------------------------- | -------- | -------------------------------------- |
| violations | [PreconditionFailure.Violation](#rpc-v1-PreconditionFailure-Violation) | repeated | Describes all precondition violations. |
-
-
-
-
-
### PreconditionFailure.Violation
-A message type used to describe a single precondition failure.
+A message type used to describe a single precondition failure.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| type | [string](#string) | | The type of PreconditionFailure. We recommend using a service-specific enum type to define the supported precondition violation subjects. For example, "TOS" for "Terms of Service violation". |
-| subject | [string](#string) | | The subject, relative to the type, that failed. For example, "google.com/cloud" relative to the "TOS" type would indicate which terms of service is being referenced. |
-| description | [string](#string) | | A description of how the precondition failed. Developers can use this description to understand how to fix the failure.
+| Field | Type | Label | Description |
+| ----------- | ----------------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| type | [string](#string) | | The type of PreconditionFailure. We recommend using a service-specific enum type to define the supported precondition violation subjects. For example, "TOS" for "Terms of Service violation". |
+| subject | [string](#string) | | The subject, relative to the type, that failed. For example, "google.com/cloud" relative to the "TOS" type would indicate which terms of service is being referenced. |
+| description | [string](#string) | | A description of how the precondition failed. Developers can use this description to understand how to fix the failure. |
For example: "Terms of service not accepted". |
-
-
-
-
-
### QuotaFailure
+
Describes how a quota check failed.
For example if a daily limit was exceeded for the calling project,
a service could respond with a QuotaFailure detail containing the project
-id and the description of the quota limit that was exceeded. If the
+id and the description of the quota limit that was exceeded. If the
calling project hasn't enabled the service in the developer console, then
a service could respond with the project id and set `service_disabled`
to true.
@@ -2215,73 +1558,53 @@ to true.
Also see RetryInfo and Help types for other details about handling a
quota failure.
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
+| Field | Type | Label | Description |
+| ---------- | -------------------------------------------------------- | -------- | ------------------------------- |
| violations | [QuotaFailure.Violation](#rpc-v1-QuotaFailure-Violation) | repeated | Describes all quota violations. |
-
-
-
-
-
### QuotaFailure.Violation
-A message type used to describe a single quota violation. For example, a
-daily quota or a custom quota that was exceeded.
+A message type used to describe a single quota violation. For example, a
+daily quota or a custom quota that was exceeded.
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| subject | [string](#string) | | The subject on which the quota check failed. For example, "clientip:<ip address of client>" or "project:<Google developer project id>". |
-| description | [string](#string) | | A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console.
+| Field | Type | Label | Description |
+| ----------- | ----------------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| subject | [string](#string) | | The subject on which the quota check failed. For example, "clientip:<ip address of client>" or "project:<Google developer project id>". |
+| description | [string](#string) | | A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console. |
For example: "Service disabled" or "Daily Limit for read operations exceeded". |
-
-
-
-
-
### RequestInfo
+
Contains metadata about the request that clients can attach when filing a bug
or providing other forms of feedback.
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| request_id | [string](#string) | | An opaque string that should only be interpreted by the service generating it. For example, it can be used to identify requests in the service's logs. |
-| serving_data | [string](#string) | | Any data that was used to serve this request. For example, an encrypted stack trace that can be sent back to the service provider for debugging. |
-
-
-
-
-
+| Field | Type | Label | Description |
+| ------------ | ----------------- | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| request_id | [string](#string) | | An opaque string that should only be interpreted by the service generating it. For example, it can be used to identify requests in the service's logs. |
+| serving_data | [string](#string) | | Any data that was used to serve this request. For example, an encrypted stack trace that can be sent back to the service provider for debugging. |
### ResourceInfo
-Describes the resource that is being accessed.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| resource_type | [string](#string) | | A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". |
-| resource_name | [string](#string) | | The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. |
-| owner | [string](#string) | | The owner of the resource (optional). For example, "user:<owner email>" or "project:<Google developer project id>". |
-| description | [string](#string) | | Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the `writer` permission on the developer console project. |
-
-
-
+Describes the resource that is being accessed.
+| Field | Type | Label | Description |
+| ------------- | ----------------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| resource_type | [string](#string) | | A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". |
+| resource_name | [string](#string) | | The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. |
+| owner | [string](#string) | | The owner of the resource (optional). For example, "user:<owner email>" or "project:<Google developer project id>". |
+| description | [string](#string) | | Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the `writer` permission on the developer console project. |
### RetryInfo
+
Describes when the clients can retry a failed request. Clients could ignore
the recommendation here or retry when this information is missing from error
responses.
@@ -2290,321 +1613,215 @@ It's always recommended that clients should use exponential backoff when
retrying.
Clients should wait until `retry_delay` amount of time has passed since
-receiving the error response before retrying. If retrying requests also
+receiving the error response before retrying. If retrying requests also
fail, clients should use an exponential backoff scheme to gradually increase
the delay between retries based on `retry_delay`, until either a maximum
number of retries have been reached or a maximum retry delay cap has been
reached.
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| retry_delay | [google.protobuf.Duration](#google-protobuf-Duration) | | Clients should wait at least this long between retrying the same request. |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+| Field | Type | Label | Description |
+| ----------- | ----------------------------------------------------- | ----- | ------------------------------------------------------------------------- |
+| retry_delay | [google.protobuf.Duration](#google-protobuf-Duration) | | Clients should wait at least this long between retrying the same request. |
+
Top
## v1/vald/filter.proto
-
-
-
-
-
-
-
-
### Filter
-Filter service provides ways to connect to Vald through filter.
-
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-| SearchObject | [.payload.v1.Search.ObjectRequest](#payload-v1-Search-ObjectRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search object. |
-| MultiSearchObject | [.payload.v1.Search.MultiObjectRequest](#payload-v1-Search-MultiObjectRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search multiple objects. |
-| StreamSearchObject | [.payload.v1.Search.ObjectRequest](#payload-v1-Search-ObjectRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search object by bidirectional streaming. |
-| InsertObject | [.payload.v1.Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method insert object. |
-| StreamInsertObject | [.payload.v1.Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | Represent the streaming RPC to insert object by bidirectional streaming. |
-| MultiInsertObject | [.payload.v1.Insert.MultiObjectRequest](#payload-v1-Insert-MultiObjectRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to insert multiple objects. |
-| UpdateObject | [.payload.v1.Update.ObjectRequest](#payload-v1-Update-ObjectRequest) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to update object. |
-| StreamUpdateObject | [.payload.v1.Update.ObjectRequest](#payload-v1-Update-ObjectRequest) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to update object by bidirectional streaming. |
-| MultiUpdateObject | [.payload.v1.Update.MultiObjectRequest](#payload-v1-Update-MultiObjectRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to update multiple objects. |
-| UpsertObject | [.payload.v1.Upsert.ObjectRequest](#payload-v1-Upsert-ObjectRequest) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to upsert object. |
-| StreamUpsertObject | [.payload.v1.Upsert.ObjectRequest](#payload-v1-Upsert-ObjectRequest) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to upsert object by bidirectional streaming. |
-| MultiUpsertObject | [.payload.v1.Upsert.MultiObjectRequest](#payload-v1-Upsert-MultiObjectRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to upsert multiple objects. |
-
-
+Filter service provides ways to connect to Vald through filter.
+| Method Name | Request Type | Response Type | Description |
+| ------------------ | ------------------------------------------------------------------------------ | ----------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
+| SearchObject | [.payload.v1.Search.ObjectRequest](#payload-v1-Search-ObjectRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search object. |
+| MultiSearchObject | [.payload.v1.Search.MultiObjectRequest](#payload-v1-Search-MultiObjectRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search multiple objects. |
+| StreamSearchObject | [.payload.v1.Search.ObjectRequest](#payload-v1-Search-ObjectRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search object by bidirectional streaming. |
+| InsertObject | [.payload.v1.Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method insert object. |
+| StreamInsertObject | [.payload.v1.Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | Represent the streaming RPC to insert object by bidirectional streaming. |
+| MultiInsertObject | [.payload.v1.Insert.MultiObjectRequest](#payload-v1-Insert-MultiObjectRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to insert multiple objects. |
+| UpdateObject | [.payload.v1.Update.ObjectRequest](#payload-v1-Update-ObjectRequest) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to update object. |
+| StreamUpdateObject | [.payload.v1.Update.ObjectRequest](#payload-v1-Update-ObjectRequest) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to update object by bidirectional streaming. |
+| MultiUpdateObject | [.payload.v1.Update.MultiObjectRequest](#payload-v1-Update-MultiObjectRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to update multiple objects. |
+| UpsertObject | [.payload.v1.Upsert.ObjectRequest](#payload-v1-Upsert-ObjectRequest) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to upsert object. |
+| StreamUpsertObject | [.payload.v1.Upsert.ObjectRequest](#payload-v1-Upsert-ObjectRequest) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to upsert object by bidirectional streaming. |
+| MultiUpsertObject | [.payload.v1.Upsert.MultiObjectRequest](#payload-v1-Upsert-MultiObjectRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to upsert multiple objects. |
+
Top
## v1/vald/flush.proto
-
-
-
-
-
-
-
-
### Flush
-Flush service provides ways to flush all indexed vectors.
-
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-| Flush | [.payload.v1.Flush.Request](#payload-v1-Flush-Request) | [.payload.v1.Info.Index.Count](#payload-v1-Info-Index-Count) | A method to flush all indexed vector. |
-
-
+Flush service provides ways to flush all indexed vectors.
+| Method Name | Request Type | Response Type | Description |
+| ----------- | ------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------- |
+| Flush | [.payload.v1.Flush.Request](#payload-v1-Flush-Request) | [.payload.v1.Info.Index.Count](#payload-v1-Info-Index-Count) | A method to flush all indexed vector. |
+
Top
## v1/vald/index.proto
-
-
-
-
-
-
-
-
### Index
-Represent the index manager service.
-
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-| IndexInfo | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.Count](#payload-v1-Info-Index-Count) | Represent the RPC to get the index information. |
-| IndexDetail | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.Detail](#payload-v1-Info-Index-Detail) | Represent the RPC to get the index information for each agents. |
-| IndexStatistics | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.Statistics](#payload-v1-Info-Index-Statistics) | Represent the RPC to get the index statistics. |
-| IndexStatisticsDetail | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.StatisticsDetail](#payload-v1-Info-Index-StatisticsDetail) | Represent the RPC to get the index statistics for each agents. |
-| IndexProperty | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.PropertyDetail](#payload-v1-Info-Index-PropertyDetail) | Represent the RPC to get the index property. |
-
-
+Represent the index manager service.
+| Method Name | Request Type | Response Type | Description |
+| --------------------- | -------------------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------- |
+| IndexInfo | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.Count](#payload-v1-Info-Index-Count) | Represent the RPC to get the index information. |
+| IndexDetail | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.Detail](#payload-v1-Info-Index-Detail) | Represent the RPC to get the index information for each agents. |
+| IndexStatistics | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.Statistics](#payload-v1-Info-Index-Statistics) | Represent the RPC to get the index statistics. |
+| IndexStatisticsDetail | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.StatisticsDetail](#payload-v1-Info-Index-StatisticsDetail) | Represent the RPC to get the index statistics for each agents. |
+| IndexProperty | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.PropertyDetail](#payload-v1-Info-Index-PropertyDetail) | Represent the RPC to get the index property. |
+
Top
## v1/vald/insert.proto
-
-
-
-
-
-
-
-
### Insert
-Insert service provides ways to add new vectors.
-
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-| Insert | [.payload.v1.Insert.Request](#payload-v1-Insert-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to add a new single vector. |
-| StreamInsert | [.payload.v1.Insert.Request](#payload-v1-Insert-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to add new multiple vectors by bidirectional streaming. |
-| MultiInsert | [.payload.v1.Insert.MultiRequest](#payload-v1-Insert-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to add new multiple vectors in a single request. |
-
-
+Insert service provides ways to add new vectors.
+| Method Name | Request Type | Response Type | Description |
+| ------------ | ------------------------------------------------------------------ | ----------------------------------------------------------------------------- | ---------------------------------------------------------------- |
+| Insert | [.payload.v1.Insert.Request](#payload-v1-Insert-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to add a new single vector. |
+| StreamInsert | [.payload.v1.Insert.Request](#payload-v1-Insert-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to add new multiple vectors by bidirectional streaming. |
+| MultiInsert | [.payload.v1.Insert.MultiRequest](#payload-v1-Insert-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to add new multiple vectors in a single request. |
+
Top
## v1/vald/object.proto
-
-
-
-
-
-
-
-
### Object
-Object service provides ways to fetch indexed vectors.
-
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-| Exists | [.payload.v1.Object.ID](#payload-v1-Object-ID) | [.payload.v1.Object.ID](#payload-v1-Object-ID) | A method to check whether a specified ID is indexed or not. |
-| GetObject | [.payload.v1.Object.VectorRequest](#payload-v1-Object-VectorRequest) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | A method to fetch a vector. |
-| StreamGetObject | [.payload.v1.Object.VectorRequest](#payload-v1-Object-VectorRequest) stream | [.payload.v1.Object.StreamVector](#payload-v1-Object-StreamVector) stream | A method to fetch vectors by bidirectional streaming. |
-| StreamListObject | [.payload.v1.Object.List.Request](#payload-v1-Object-List-Request) | [.payload.v1.Object.List.Response](#payload-v1-Object-List-Response) stream | A method to get all the vectors with server streaming |
-| GetTimestamp | [.payload.v1.Object.TimestampRequest](#payload-v1-Object-TimestampRequest) | [.payload.v1.Object.Timestamp](#payload-v1-Object-Timestamp) | Represent the RPC to get the vector metadata. This RPC is mainly used for index correction process |
-
-
+Object service provides ways to fetch indexed vectors.
+| Method Name | Request Type | Response Type | Description |
+| ---------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
+| Exists | [.payload.v1.Object.ID](#payload-v1-Object-ID) | [.payload.v1.Object.ID](#payload-v1-Object-ID) | A method to check whether a specified ID is indexed or not. |
+| GetObject | [.payload.v1.Object.VectorRequest](#payload-v1-Object-VectorRequest) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | A method to fetch a vector. |
+| StreamGetObject | [.payload.v1.Object.VectorRequest](#payload-v1-Object-VectorRequest) stream | [.payload.v1.Object.StreamVector](#payload-v1-Object-StreamVector) stream | A method to fetch vectors by bidirectional streaming. |
+| StreamListObject | [.payload.v1.Object.List.Request](#payload-v1-Object-List-Request) | [.payload.v1.Object.List.Response](#payload-v1-Object-List-Response) stream | A method to get all the vectors with server streaming |
+| GetTimestamp | [.payload.v1.Object.TimestampRequest](#payload-v1-Object-TimestampRequest) | [.payload.v1.Object.Timestamp](#payload-v1-Object-Timestamp) | Represent the RPC to get the vector metadata. This RPC is mainly used for index correction process |
+
Top
## v1/vald/remove.proto
-
-
-
-
-
-
-
-
### Remove
-Remove service provides ways to remove indexed vectors.
-
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-| Remove | [.payload.v1.Remove.Request](#payload-v1-Remove-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to remove an indexed vector. |
-| RemoveByTimestamp | [.payload.v1.Remove.TimestampRequest](#payload-v1-Remove-TimestampRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to remove an indexed vector based on timestamp. |
-| StreamRemove | [.payload.v1.Remove.Request](#payload-v1-Remove-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to remove multiple indexed vectors by bidirectional streaming. |
-| MultiRemove | [.payload.v1.Remove.MultiRequest](#payload-v1-Remove-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to remove multiple indexed vectors in a single request. |
-
-
+Remove service provides ways to remove indexed vectors.
+| Method Name | Request Type | Response Type | Description |
+| ----------------- | -------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
+| Remove | [.payload.v1.Remove.Request](#payload-v1-Remove-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to remove an indexed vector. |
+| RemoveByTimestamp | [.payload.v1.Remove.TimestampRequest](#payload-v1-Remove-TimestampRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to remove an indexed vector based on timestamp. |
+| StreamRemove | [.payload.v1.Remove.Request](#payload-v1-Remove-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to remove multiple indexed vectors by bidirectional streaming. |
+| MultiRemove | [.payload.v1.Remove.MultiRequest](#payload-v1-Remove-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to remove multiple indexed vectors in a single request. |
+
Top
## v1/vald/search.proto
-
-
-
-
-
-
-
-
### Search
-Search service provides ways to search indexed vectors.
-
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-| Search | [.payload.v1.Search.Request](#payload-v1-Search-Request) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search indexed vectors by a raw vector. |
-| SearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search indexed vectors by ID. |
-| StreamSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search indexed vectors by multiple vectors. |
-| StreamSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search indexed vectors by multiple IDs. |
-| MultiSearch | [.payload.v1.Search.MultiRequest](#payload-v1-Search-MultiRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search indexed vectors by multiple vectors in a single request. |
-| MultiSearchByID | [.payload.v1.Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search indexed vectors by multiple IDs in a single request. |
-| LinearSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to linear search indexed vectors by a raw vector. |
-| LinearSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to linear search indexed vectors by ID. |
-| StreamLinearSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to linear search indexed vectors by multiple vectors. |
-| StreamLinearSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to linear search indexed vectors by multiple IDs. |
-| MultiLinearSearch | [.payload.v1.Search.MultiRequest](#payload-v1-Search-MultiRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to linear search indexed vectors by multiple vectors in a single request. |
-| MultiLinearSearchByID | [.payload.v1.Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to linear search indexed vectors by multiple IDs in a single request. |
-
-
+Search service provides ways to search indexed vectors.
+| Method Name | Request Type | Response Type | Description |
+| ---------------------- | ---------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
+| Search | [.payload.v1.Search.Request](#payload-v1-Search-Request) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search indexed vectors by a raw vector. |
+| SearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search indexed vectors by ID. |
+| StreamSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search indexed vectors by multiple vectors. |
+| StreamSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search indexed vectors by multiple IDs. |
+| MultiSearch | [.payload.v1.Search.MultiRequest](#payload-v1-Search-MultiRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search indexed vectors by multiple vectors in a single request. |
+| MultiSearchByID | [.payload.v1.Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search indexed vectors by multiple IDs in a single request. |
+| LinearSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to linear search indexed vectors by a raw vector. |
+| LinearSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to linear search indexed vectors by ID. |
+| StreamLinearSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to linear search indexed vectors by multiple vectors. |
+| StreamLinearSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to linear search indexed vectors by multiple IDs. |
+| MultiLinearSearch | [.payload.v1.Search.MultiRequest](#payload-v1-Search-MultiRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to linear search indexed vectors by multiple vectors in a single request. |
+| MultiLinearSearchByID | [.payload.v1.Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to linear search indexed vectors by multiple IDs in a single request. |
+
Top
## v1/vald/update.proto
-
-
-
-
-
-
-
-
### Update
-Update service provides ways to update indexed vectors.
-
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-| Update | [.payload.v1.Update.Request](#payload-v1-Update-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to update an indexed vector. |
-| StreamUpdate | [.payload.v1.Update.Request](#payload-v1-Update-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to update multiple indexed vectors by bidirectional streaming. |
-| MultiUpdate | [.payload.v1.Update.MultiRequest](#payload-v1-Update-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to update multiple indexed vectors in a single request. |
-
-
+Update service provides ways to update indexed vectors.
+| Method Name | Request Type | Response Type | Description |
+| ------------ | ------------------------------------------------------------------ | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
+| Update | [.payload.v1.Update.Request](#payload-v1-Update-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to update an indexed vector. |
+| StreamUpdate | [.payload.v1.Update.Request](#payload-v1-Update-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to update multiple indexed vectors by bidirectional streaming. |
+| MultiUpdate | [.payload.v1.Update.MultiRequest](#payload-v1-Update-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to update multiple indexed vectors in a single request. |
+
Top
## v1/vald/upsert.proto
-
-
-
-
-
-
-
-
### Upsert
-Upsert service provides ways to insert/update vectors.
-
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-| Upsert | [.payload.v1.Upsert.Request](#payload-v1-Upsert-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to insert/update a vector. |
-| StreamUpsert | [.payload.v1.Upsert.Request](#payload-v1-Upsert-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to insert/update multiple vectors by bidirectional streaming. |
-| MultiUpsert | [.payload.v1.Upsert.MultiRequest](#payload-v1-Upsert-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to insert/update multiple vectors in a single request. |
-
-
+Upsert service provides ways to insert/update vectors.
+| Method Name | Request Type | Response Type | Description |
+| ------------ | ------------------------------------------------------------------ | ----------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
+| Upsert | [.payload.v1.Upsert.Request](#payload-v1-Upsert-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to insert/update a vector. |
+| StreamUpsert | [.payload.v1.Upsert.Request](#payload-v1-Upsert-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to insert/update multiple vectors by bidirectional streaming. |
+| MultiUpsert | [.payload.v1.Upsert.MultiRequest](#payload-v1-Upsert-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to insert/update multiple vectors in a single request. |
## Scalar Value Types
-| .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby |
-| ----------- | ----- | --- | ---- | ------ | -- | -- | --- | ---- |
-| double | | double | double | float | float64 | double | float | Float |
-| float | | float | float | float | float32 | float | float | Float |
-| int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
-| int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum |
-| uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) |
-| uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) |
-| sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
-| sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum |
-| fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) |
-| fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum |
-| sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
-| sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum |
-| bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass |
-| string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) |
-| bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) |
-
+| .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby |
+| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- | ------ | ---------- | ----------- | ------- | ---------- | -------------- | ------------------------------ |
+| double | | double | double | float | float64 | double | float | Float |
+| float | | float | float | float | float32 | float | float | Float |
+| int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
+| int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum |
+| uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) |
+| uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) |
+| sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
+| sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum |
+| fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) |
+| fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum |
+| sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
+| sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum |
+| bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass |
+| string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) |
+| bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) |
diff --git a/apis/grpc/v1/agent/core/agent.pb.go b/apis/grpc/v1/agent/core/agent.pb.go
index 1cd4bab3abb..42f03029a9a 100644
--- a/apis/grpc/v1/agent/core/agent.pb.go
+++ b/apis/grpc/v1/agent/core/agent.pb.go
@@ -23,11 +23,12 @@
package core
import (
+ reflect "reflect"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -79,6 +80,7 @@ var file_v1_agent_core_agent_proto_goTypes = []any{
(*payload.Control_CreateIndexRequest)(nil), // 0: payload.v1.Control.CreateIndexRequest
(*payload.Empty)(nil), // 1: payload.v1.Empty
}
+
var file_v1_agent_core_agent_proto_depIdxs = []int32{
0, // 0: core.v1.Agent.CreateIndex:input_type -> payload.v1.Control.CreateIndexRequest
1, // 1: core.v1.Agent.SaveIndex:input_type -> payload.v1.Empty
diff --git a/apis/grpc/v1/agent/core/agent_vtproto.pb.go b/apis/grpc/v1/agent/core/agent_vtproto.pb.go
index 1fa722fa7c1..93f689fa9c5 100644
--- a/apis/grpc/v1/agent/core/agent_vtproto.pb.go
+++ b/apis/grpc/v1/agent/core/agent_vtproto.pb.go
@@ -1,15 +1,28 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/agent/core/agent.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package core
import (
context "context"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
- grpc "google.golang.org/grpc"
codes "github.com/vdaas/vald/internal/net/grpc/codes"
status "github.com/vdaas/vald/internal/net/grpc/status"
+ grpc "google.golang.org/grpc"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
@@ -45,7 +58,9 @@ func NewAgentClient(cc grpc.ClientConnInterface) AgentClient {
return &agentClient{cc}
}
-func (c *agentClient) CreateIndex(ctx context.Context, in *payload.Control_CreateIndexRequest, opts ...grpc.CallOption) (*payload.Empty, error) {
+func (c *agentClient) CreateIndex(
+ ctx context.Context, in *payload.Control_CreateIndexRequest, opts ...grpc.CallOption,
+) (*payload.Empty, error) {
out := new(payload.Empty)
err := c.cc.Invoke(ctx, "/core.v1.Agent/CreateIndex", in, out, opts...)
if err != nil {
@@ -54,7 +69,9 @@ func (c *agentClient) CreateIndex(ctx context.Context, in *payload.Control_Creat
return out, nil
}
-func (c *agentClient) SaveIndex(ctx context.Context, in *payload.Empty, opts ...grpc.CallOption) (*payload.Empty, error) {
+func (c *agentClient) SaveIndex(
+ ctx context.Context, in *payload.Empty, opts ...grpc.CallOption,
+) (*payload.Empty, error) {
out := new(payload.Empty)
err := c.cc.Invoke(ctx, "/core.v1.Agent/SaveIndex", in, out, opts...)
if err != nil {
@@ -63,7 +80,9 @@ func (c *agentClient) SaveIndex(ctx context.Context, in *payload.Empty, opts ...
return out, nil
}
-func (c *agentClient) CreateAndSaveIndex(ctx context.Context, in *payload.Control_CreateIndexRequest, opts ...grpc.CallOption) (*payload.Empty, error) {
+func (c *agentClient) CreateAndSaveIndex(
+ ctx context.Context, in *payload.Control_CreateIndexRequest, opts ...grpc.CallOption,
+) (*payload.Empty, error) {
out := new(payload.Empty)
err := c.cc.Invoke(ctx, "/core.v1.Agent/CreateAndSaveIndex", in, out, opts...)
if err != nil {
@@ -86,16 +105,21 @@ type AgentServer interface {
}
// UnimplementedAgentServer must be embedded to have forward compatible implementations.
-type UnimplementedAgentServer struct {
-}
+type UnimplementedAgentServer struct{}
-func (UnimplementedAgentServer) CreateIndex(context.Context, *payload.Control_CreateIndexRequest) (*payload.Empty, error) {
+func (UnimplementedAgentServer) CreateIndex(
+ context.Context, *payload.Control_CreateIndexRequest,
+) (*payload.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented")
}
+
func (UnimplementedAgentServer) SaveIndex(context.Context, *payload.Empty) (*payload.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method SaveIndex not implemented")
}
-func (UnimplementedAgentServer) CreateAndSaveIndex(context.Context, *payload.Control_CreateIndexRequest) (*payload.Empty, error) {
+
+func (UnimplementedAgentServer) CreateAndSaveIndex(
+ context.Context, *payload.Control_CreateIndexRequest,
+) (*payload.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateAndSaveIndex not implemented")
}
func (UnimplementedAgentServer) mustEmbedUnimplementedAgentServer() {}
@@ -111,7 +135,9 @@ func RegisterAgentServer(s grpc.ServiceRegistrar, srv AgentServer) {
s.RegisterService(&Agent_ServiceDesc, srv)
}
-func _Agent_CreateIndex_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Agent_CreateIndex_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Control_CreateIndexRequest)
if err := dec(in); err != nil {
return nil, err
@@ -129,7 +155,9 @@ func _Agent_CreateIndex_Handler(srv any, ctx context.Context, dec func(any) erro
return interceptor(ctx, in, info, handler)
}
-func _Agent_SaveIndex_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Agent_SaveIndex_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Empty)
if err := dec(in); err != nil {
return nil, err
@@ -147,7 +175,9 @@ func _Agent_SaveIndex_Handler(srv any, ctx context.Context, dec func(any) error,
return interceptor(ctx, in, info, handler)
}
-func _Agent_CreateAndSaveIndex_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Agent_CreateAndSaveIndex_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Control_CreateIndexRequest)
if err := dec(in); err != nil {
return nil, err
diff --git a/apis/grpc/v1/agent/sidecar/sidecar.pb.go b/apis/grpc/v1/agent/sidecar/sidecar.pb.go
index b582c0e731f..bcaf02c7c6c 100644
--- a/apis/grpc/v1/agent/sidecar/sidecar.pb.go
+++ b/apis/grpc/v1/agent/sidecar/sidecar.pb.go
@@ -23,9 +23,10 @@
package sidecar
import (
+ reflect "reflect"
+
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -51,14 +52,16 @@ var file_v1_agent_sidecar_sidecar_proto_rawDesc = []byte{
0x65, 0x63, 0x61, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
-var file_v1_agent_sidecar_sidecar_proto_goTypes = []any{}
-var file_v1_agent_sidecar_sidecar_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
+var (
+ file_v1_agent_sidecar_sidecar_proto_goTypes = []any{}
+ file_v1_agent_sidecar_sidecar_proto_depIdxs = []int32{
+ 0, // [0:0] is the sub-list for method output_type
+ 0, // [0:0] is the sub-list for method input_type
+ 0, // [0:0] is the sub-list for extension type_name
+ 0, // [0:0] is the sub-list for extension extendee
+ 0, // [0:0] is the sub-list for field type_name
+ }
+)
func init() { file_v1_agent_sidecar_sidecar_proto_init() }
func file_v1_agent_sidecar_sidecar_proto_init() {
diff --git a/apis/grpc/v1/agent/sidecar/sidecar_vtproto.pb.go b/apis/grpc/v1/agent/sidecar/sidecar_vtproto.pb.go
index 1051bc9ac6b..f60d8f002fb 100644
--- a/apis/grpc/v1/agent/sidecar/sidecar_vtproto.pb.go
+++ b/apis/grpc/v1/agent/sidecar/sidecar_vtproto.pb.go
@@ -1,6 +1,18 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/agent/sidecar/sidecar.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package sidecar
@@ -24,8 +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 interface {
-}
+type SidecarClient interface{}
type sidecarClient struct {
cc grpc.ClientConnInterface
@@ -43,8 +54,7 @@ type SidecarServer interface {
}
// UnimplementedSidecarServer must be embedded to have forward compatible implementations.
-type UnimplementedSidecarServer struct {
-}
+type UnimplementedSidecarServer struct{}
func (UnimplementedSidecarServer) mustEmbedUnimplementedSidecarServer() {}
diff --git a/apis/grpc/v1/discoverer/discoverer.pb.go b/apis/grpc/v1/discoverer/discoverer.pb.go
index 87a441ac83f..f95d2f8cbef 100644
--- a/apis/grpc/v1/discoverer/discoverer.pb.go
+++ b/apis/grpc/v1/discoverer/discoverer.pb.go
@@ -23,11 +23,12 @@
package discoverer
import (
+ reflect "reflect"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -80,6 +81,7 @@ var file_v1_discoverer_discoverer_proto_goTypes = []any{
(*payload.Info_Nodes)(nil), // 2: payload.v1.Info.Nodes
(*payload.Info_Services)(nil), // 3: payload.v1.Info.Services
}
+
var file_v1_discoverer_discoverer_proto_depIdxs = []int32{
0, // 0: discoverer.v1.Discoverer.Pods:input_type -> payload.v1.Discoverer.Request
0, // 1: discoverer.v1.Discoverer.Nodes:input_type -> payload.v1.Discoverer.Request
diff --git a/apis/grpc/v1/discoverer/discoverer_vtproto.pb.go b/apis/grpc/v1/discoverer/discoverer_vtproto.pb.go
index 89b5d3b03be..a1153195c61 100644
--- a/apis/grpc/v1/discoverer/discoverer_vtproto.pb.go
+++ b/apis/grpc/v1/discoverer/discoverer_vtproto.pb.go
@@ -1,15 +1,28 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/discoverer/discoverer.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package discoverer
import (
context "context"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
- grpc "google.golang.org/grpc"
codes "github.com/vdaas/vald/internal/net/grpc/codes"
status "github.com/vdaas/vald/internal/net/grpc/status"
+ grpc "google.golang.org/grpc"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
@@ -45,7 +58,9 @@ func NewDiscovererClient(cc grpc.ClientConnInterface) DiscovererClient {
return &discovererClient{cc}
}
-func (c *discovererClient) Pods(ctx context.Context, in *payload.Discoverer_Request, opts ...grpc.CallOption) (*payload.Info_Pods, error) {
+func (c *discovererClient) Pods(
+ ctx context.Context, in *payload.Discoverer_Request, opts ...grpc.CallOption,
+) (*payload.Info_Pods, error) {
out := new(payload.Info_Pods)
err := c.cc.Invoke(ctx, "/discoverer.v1.Discoverer/Pods", in, out, opts...)
if err != nil {
@@ -54,7 +69,9 @@ func (c *discovererClient) Pods(ctx context.Context, in *payload.Discoverer_Requ
return out, nil
}
-func (c *discovererClient) Nodes(ctx context.Context, in *payload.Discoverer_Request, opts ...grpc.CallOption) (*payload.Info_Nodes, error) {
+func (c *discovererClient) Nodes(
+ ctx context.Context, in *payload.Discoverer_Request, opts ...grpc.CallOption,
+) (*payload.Info_Nodes, error) {
out := new(payload.Info_Nodes)
err := c.cc.Invoke(ctx, "/discoverer.v1.Discoverer/Nodes", in, out, opts...)
if err != nil {
@@ -63,7 +80,9 @@ func (c *discovererClient) Nodes(ctx context.Context, in *payload.Discoverer_Req
return out, nil
}
-func (c *discovererClient) Services(ctx context.Context, in *payload.Discoverer_Request, opts ...grpc.CallOption) (*payload.Info_Services, error) {
+func (c *discovererClient) Services(
+ ctx context.Context, in *payload.Discoverer_Request, opts ...grpc.CallOption,
+) (*payload.Info_Services, error) {
out := new(payload.Info_Services)
err := c.cc.Invoke(ctx, "/discoverer.v1.Discoverer/Services", in, out, opts...)
if err != nil {
@@ -86,16 +105,23 @@ type DiscovererServer interface {
}
// UnimplementedDiscovererServer must be embedded to have forward compatible implementations.
-type UnimplementedDiscovererServer struct {
-}
+type UnimplementedDiscovererServer struct{}
-func (UnimplementedDiscovererServer) Pods(context.Context, *payload.Discoverer_Request) (*payload.Info_Pods, error) {
+func (UnimplementedDiscovererServer) Pods(
+ context.Context, *payload.Discoverer_Request,
+) (*payload.Info_Pods, error) {
return nil, status.Errorf(codes.Unimplemented, "method Pods not implemented")
}
-func (UnimplementedDiscovererServer) Nodes(context.Context, *payload.Discoverer_Request) (*payload.Info_Nodes, error) {
+
+func (UnimplementedDiscovererServer) Nodes(
+ context.Context, *payload.Discoverer_Request,
+) (*payload.Info_Nodes, error) {
return nil, status.Errorf(codes.Unimplemented, "method Nodes not implemented")
}
-func (UnimplementedDiscovererServer) Services(context.Context, *payload.Discoverer_Request) (*payload.Info_Services, error) {
+
+func (UnimplementedDiscovererServer) Services(
+ context.Context, *payload.Discoverer_Request,
+) (*payload.Info_Services, error) {
return nil, status.Errorf(codes.Unimplemented, "method Services not implemented")
}
func (UnimplementedDiscovererServer) mustEmbedUnimplementedDiscovererServer() {}
@@ -111,7 +137,9 @@ func RegisterDiscovererServer(s grpc.ServiceRegistrar, srv DiscovererServer) {
s.RegisterService(&Discoverer_ServiceDesc, srv)
}
-func _Discoverer_Pods_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Discoverer_Pods_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Discoverer_Request)
if err := dec(in); err != nil {
return nil, err
@@ -129,7 +157,9 @@ func _Discoverer_Pods_Handler(srv any, ctx context.Context, dec func(any) error,
return interceptor(ctx, in, info, handler)
}
-func _Discoverer_Nodes_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Discoverer_Nodes_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Discoverer_Request)
if err := dec(in); err != nil {
return nil, err
@@ -147,7 +177,9 @@ func _Discoverer_Nodes_Handler(srv any, ctx context.Context, dec func(any) error
return interceptor(ctx, in, info, handler)
}
-func _Discoverer_Services_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Discoverer_Services_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Discoverer_Request)
if err := dec(in); err != nil {
return nil, err
diff --git a/apis/grpc/v1/filter/egress/egress_filter.pb.go b/apis/grpc/v1/filter/egress/egress_filter.pb.go
index 470d0cac016..5d60c42564e 100644
--- a/apis/grpc/v1/filter/egress/egress_filter.pb.go
+++ b/apis/grpc/v1/filter/egress/egress_filter.pb.go
@@ -23,11 +23,12 @@
package egress
import (
+ reflect "reflect"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -75,6 +76,7 @@ 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
}
+
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
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 85960ba2f58..fc9d0d34e2e 100644
--- a/apis/grpc/v1/filter/egress/egress_filter_vtproto.pb.go
+++ b/apis/grpc/v1/filter/egress/egress_filter_vtproto.pb.go
@@ -1,15 +1,28 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/filter/egress/egress_filter.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package egress
import (
context "context"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
- grpc "google.golang.org/grpc"
codes "github.com/vdaas/vald/internal/net/grpc/codes"
status "github.com/vdaas/vald/internal/net/grpc/status"
+ grpc "google.golang.org/grpc"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
@@ -43,7 +56,9 @@ func NewFilterClient(cc grpc.ClientConnInterface) FilterClient {
return &filterClient{cc}
}
-func (c *filterClient) FilterDistance(ctx context.Context, in *payload.Object_Distance, opts ...grpc.CallOption) (*payload.Object_Distance, error) {
+func (c *filterClient) FilterDistance(
+ ctx context.Context, in *payload.Object_Distance, opts ...grpc.CallOption,
+) (*payload.Object_Distance, error) {
out := new(payload.Object_Distance)
err := c.cc.Invoke(ctx, "/filter.egress.v1.Filter/FilterDistance", in, out, opts...)
if err != nil {
@@ -52,7 +67,9 @@ func (c *filterClient) FilterDistance(ctx context.Context, in *payload.Object_Di
return out, nil
}
-func (c *filterClient) FilterVector(ctx context.Context, in *payload.Object_Vector, opts ...grpc.CallOption) (*payload.Object_Vector, error) {
+func (c *filterClient) FilterVector(
+ ctx context.Context, in *payload.Object_Vector, opts ...grpc.CallOption,
+) (*payload.Object_Vector, error) {
out := new(payload.Object_Vector)
err := c.cc.Invoke(ctx, "/filter.egress.v1.Filter/FilterVector", in, out, opts...)
if err != nil {
@@ -73,13 +90,17 @@ type FilterServer interface {
}
// UnimplementedFilterServer must be embedded to have forward compatible implementations.
-type UnimplementedFilterServer struct {
-}
+type UnimplementedFilterServer struct{}
-func (UnimplementedFilterServer) FilterDistance(context.Context, *payload.Object_Distance) (*payload.Object_Distance, error) {
+func (UnimplementedFilterServer) FilterDistance(
+ context.Context, *payload.Object_Distance,
+) (*payload.Object_Distance, error) {
return nil, status.Errorf(codes.Unimplemented, "method FilterDistance not implemented")
}
-func (UnimplementedFilterServer) FilterVector(context.Context, *payload.Object_Vector) (*payload.Object_Vector, error) {
+
+func (UnimplementedFilterServer) FilterVector(
+ context.Context, *payload.Object_Vector,
+) (*payload.Object_Vector, error) {
return nil, status.Errorf(codes.Unimplemented, "method FilterVector not implemented")
}
func (UnimplementedFilterServer) mustEmbedUnimplementedFilterServer() {}
@@ -95,7 +116,9 @@ func RegisterFilterServer(s grpc.ServiceRegistrar, srv FilterServer) {
s.RegisterService(&Filter_ServiceDesc, srv)
}
-func _Filter_FilterDistance_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Filter_FilterDistance_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Object_Distance)
if err := dec(in); err != nil {
return nil, err
@@ -113,7 +136,9 @@ func _Filter_FilterDistance_Handler(srv any, ctx context.Context, dec func(any)
return interceptor(ctx, in, info, handler)
}
-func _Filter_FilterVector_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Filter_FilterVector_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Object_Vector)
if err := dec(in); err != nil {
return nil, err
diff --git a/apis/grpc/v1/filter/ingress/ingress_filter.pb.go b/apis/grpc/v1/filter/ingress/ingress_filter.pb.go
index fe86dde2afb..4c76d06ed6b 100644
--- a/apis/grpc/v1/filter/ingress/ingress_filter.pb.go
+++ b/apis/grpc/v1/filter/ingress/ingress_filter.pb.go
@@ -23,11 +23,12 @@
package ingress
import (
+ reflect "reflect"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -75,6 +76,7 @@ var file_v1_filter_ingress_ingress_filter_proto_goTypes = []any{
(*payload.Object_Blob)(nil), // 0: payload.v1.Object.Blob
(*payload.Object_Vector)(nil), // 1: payload.v1.Object.Vector
}
+
var file_v1_filter_ingress_ingress_filter_proto_depIdxs = []int32{
0, // 0: filter.ingress.v1.Filter.GenVector:input_type -> payload.v1.Object.Blob
1, // 1: filter.ingress.v1.Filter.FilterVector:input_type -> payload.v1.Object.Vector
diff --git a/apis/grpc/v1/filter/ingress/ingress_filter_vtproto.pb.go b/apis/grpc/v1/filter/ingress/ingress_filter_vtproto.pb.go
index 215a2385e3b..acea57e8096 100644
--- a/apis/grpc/v1/filter/ingress/ingress_filter_vtproto.pb.go
+++ b/apis/grpc/v1/filter/ingress/ingress_filter_vtproto.pb.go
@@ -1,15 +1,28 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/filter/ingress/ingress_filter.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package ingress
import (
context "context"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
- grpc "google.golang.org/grpc"
codes "github.com/vdaas/vald/internal/net/grpc/codes"
status "github.com/vdaas/vald/internal/net/grpc/status"
+ grpc "google.golang.org/grpc"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
@@ -43,7 +56,9 @@ func NewFilterClient(cc grpc.ClientConnInterface) FilterClient {
return &filterClient{cc}
}
-func (c *filterClient) GenVector(ctx context.Context, in *payload.Object_Blob, opts ...grpc.CallOption) (*payload.Object_Vector, error) {
+func (c *filterClient) GenVector(
+ ctx context.Context, in *payload.Object_Blob, opts ...grpc.CallOption,
+) (*payload.Object_Vector, error) {
out := new(payload.Object_Vector)
err := c.cc.Invoke(ctx, "/filter.ingress.v1.Filter/GenVector", in, out, opts...)
if err != nil {
@@ -52,7 +67,9 @@ func (c *filterClient) GenVector(ctx context.Context, in *payload.Object_Blob, o
return out, nil
}
-func (c *filterClient) FilterVector(ctx context.Context, in *payload.Object_Vector, opts ...grpc.CallOption) (*payload.Object_Vector, error) {
+func (c *filterClient) FilterVector(
+ ctx context.Context, in *payload.Object_Vector, opts ...grpc.CallOption,
+) (*payload.Object_Vector, error) {
out := new(payload.Object_Vector)
err := c.cc.Invoke(ctx, "/filter.ingress.v1.Filter/FilterVector", in, out, opts...)
if err != nil {
@@ -73,13 +90,17 @@ type FilterServer interface {
}
// UnimplementedFilterServer must be embedded to have forward compatible implementations.
-type UnimplementedFilterServer struct {
-}
+type UnimplementedFilterServer struct{}
-func (UnimplementedFilterServer) GenVector(context.Context, *payload.Object_Blob) (*payload.Object_Vector, error) {
+func (UnimplementedFilterServer) GenVector(
+ context.Context, *payload.Object_Blob,
+) (*payload.Object_Vector, error) {
return nil, status.Errorf(codes.Unimplemented, "method GenVector not implemented")
}
-func (UnimplementedFilterServer) FilterVector(context.Context, *payload.Object_Vector) (*payload.Object_Vector, error) {
+
+func (UnimplementedFilterServer) FilterVector(
+ context.Context, *payload.Object_Vector,
+) (*payload.Object_Vector, error) {
return nil, status.Errorf(codes.Unimplemented, "method FilterVector not implemented")
}
func (UnimplementedFilterServer) mustEmbedUnimplementedFilterServer() {}
@@ -95,7 +116,9 @@ func RegisterFilterServer(s grpc.ServiceRegistrar, srv FilterServer) {
s.RegisterService(&Filter_ServiceDesc, srv)
}
-func _Filter_GenVector_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Filter_GenVector_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Object_Blob)
if err := dec(in); err != nil {
return nil, err
@@ -113,7 +136,9 @@ func _Filter_GenVector_Handler(srv any, ctx context.Context, dec func(any) error
return interceptor(ctx, in, info, handler)
}
-func _Filter_FilterVector_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Filter_FilterVector_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Object_Vector)
if err := dec(in); err != nil {
return nil, err
diff --git a/apis/grpc/v1/meta/meta.pb.go b/apis/grpc/v1/meta/meta.pb.go
index 5aaad168433..86615416bf4 100644
--- a/apis/grpc/v1/meta/meta.pb.go
+++ b/apis/grpc/v1/meta/meta.pb.go
@@ -23,11 +23,12 @@
package meta
import (
+ reflect "reflect"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -74,6 +75,7 @@ var file_v1_meta_meta_proto_goTypes = []any{
(*payload.Meta_Value)(nil), // 2: payload.v1.Meta.Value
(*payload.Empty)(nil), // 3: payload.v1.Empty
}
+
var file_v1_meta_meta_proto_depIdxs = []int32{
0, // 0: meta.v1.Meta.Get:input_type -> payload.v1.Meta.Key
1, // 1: meta.v1.Meta.Set:input_type -> payload.v1.Meta.KeyValue
diff --git a/apis/grpc/v1/meta/meta_vtproto.pb.go b/apis/grpc/v1/meta/meta_vtproto.pb.go
index bc96261d445..95bc2596678 100644
--- a/apis/grpc/v1/meta/meta_vtproto.pb.go
+++ b/apis/grpc/v1/meta/meta_vtproto.pb.go
@@ -1,15 +1,28 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/meta/meta.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package meta
import (
context "context"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
- grpc "google.golang.org/grpc"
codes "github.com/vdaas/vald/internal/net/grpc/codes"
status "github.com/vdaas/vald/internal/net/grpc/status"
+ grpc "google.golang.org/grpc"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
@@ -42,7 +55,9 @@ func NewMetaClient(cc grpc.ClientConnInterface) MetaClient {
return &metaClient{cc}
}
-func (c *metaClient) Get(ctx context.Context, in *payload.Meta_Key, opts ...grpc.CallOption) (*payload.Meta_Value, error) {
+func (c *metaClient) Get(
+ ctx context.Context, in *payload.Meta_Key, opts ...grpc.CallOption,
+) (*payload.Meta_Value, error) {
out := new(payload.Meta_Value)
err := c.cc.Invoke(ctx, "/meta.v1.Meta/Get", in, out, opts...)
if err != nil {
@@ -51,7 +66,9 @@ func (c *metaClient) Get(ctx context.Context, in *payload.Meta_Key, opts ...grpc
return out, nil
}
-func (c *metaClient) Set(ctx context.Context, in *payload.Meta_KeyValue, opts ...grpc.CallOption) (*payload.Empty, error) {
+func (c *metaClient) Set(
+ ctx context.Context, in *payload.Meta_KeyValue, opts ...grpc.CallOption,
+) (*payload.Empty, error) {
out := new(payload.Empty)
err := c.cc.Invoke(ctx, "/meta.v1.Meta/Set", in, out, opts...)
if err != nil {
@@ -60,7 +77,9 @@ func (c *metaClient) Set(ctx context.Context, in *payload.Meta_KeyValue, opts ..
return out, nil
}
-func (c *metaClient) Delete(ctx context.Context, in *payload.Meta_Key, opts ...grpc.CallOption) (*payload.Empty, error) {
+func (c *metaClient) Delete(
+ ctx context.Context, in *payload.Meta_Key, opts ...grpc.CallOption,
+) (*payload.Empty, error) {
out := new(payload.Empty)
err := c.cc.Invoke(ctx, "/meta.v1.Meta/Delete", in, out, opts...)
if err != nil {
@@ -80,15 +99,20 @@ type MetaServer interface {
}
// UnimplementedMetaServer must be embedded to have forward compatible implementations.
-type UnimplementedMetaServer struct {
-}
+type UnimplementedMetaServer struct{}
-func (UnimplementedMetaServer) Get(context.Context, *payload.Meta_Key) (*payload.Meta_Value, error) {
+func (UnimplementedMetaServer) Get(
+ context.Context, *payload.Meta_Key,
+) (*payload.Meta_Value, error) {
return nil, status.Errorf(codes.Unimplemented, "method Get not implemented")
}
-func (UnimplementedMetaServer) Set(context.Context, *payload.Meta_KeyValue) (*payload.Empty, error) {
+
+func (UnimplementedMetaServer) Set(
+ context.Context, *payload.Meta_KeyValue,
+) (*payload.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method Set not implemented")
}
+
func (UnimplementedMetaServer) Delete(context.Context, *payload.Meta_Key) (*payload.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
}
@@ -105,7 +129,9 @@ func RegisterMetaServer(s grpc.ServiceRegistrar, srv MetaServer) {
s.RegisterService(&Meta_ServiceDesc, srv)
}
-func _Meta_Get_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Meta_Get_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Meta_Key)
if err := dec(in); err != nil {
return nil, err
@@ -123,7 +149,9 @@ func _Meta_Get_Handler(srv any, ctx context.Context, dec func(any) error, interc
return interceptor(ctx, in, info, handler)
}
-func _Meta_Set_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Meta_Set_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Meta_KeyValue)
if err := dec(in); err != nil {
return nil, err
@@ -141,7 +169,9 @@ func _Meta_Set_Handler(srv any, ctx context.Context, dec func(any) error, interc
return interceptor(ctx, in, info, handler)
}
-func _Meta_Delete_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Meta_Delete_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Meta_Key)
if err := dec(in); err != nil {
return nil, err
diff --git a/apis/grpc/v1/mirror/mirror.pb.go b/apis/grpc/v1/mirror/mirror.pb.go
index e6e682bbfd3..429706e1c3f 100644
--- a/apis/grpc/v1/mirror/mirror.pb.go
+++ b/apis/grpc/v1/mirror/mirror.pb.go
@@ -23,11 +23,12 @@
package mirror
import (
+ reflect "reflect"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -64,6 +65,7 @@ var file_v1_mirror_mirror_proto_rawDesc = []byte{
var file_v1_mirror_mirror_proto_goTypes = []any{
(*payload.Mirror_Targets)(nil), // 0: payload.v1.Mirror.Targets
}
+
var file_v1_mirror_mirror_proto_depIdxs = []int32{
0, // 0: mirror.v1.Mirror.Register:input_type -> payload.v1.Mirror.Targets
0, // 1: mirror.v1.Mirror.Register:output_type -> payload.v1.Mirror.Targets
diff --git a/apis/grpc/v1/mirror/mirror_vtproto.pb.go b/apis/grpc/v1/mirror/mirror_vtproto.pb.go
index 30bfedf5a39..5b733bf39d3 100644
--- a/apis/grpc/v1/mirror/mirror_vtproto.pb.go
+++ b/apis/grpc/v1/mirror/mirror_vtproto.pb.go
@@ -1,15 +1,28 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/mirror/mirror.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package mirror
import (
context "context"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
- grpc "google.golang.org/grpc"
codes "github.com/vdaas/vald/internal/net/grpc/codes"
status "github.com/vdaas/vald/internal/net/grpc/status"
+ grpc "google.golang.org/grpc"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
@@ -41,7 +54,9 @@ func NewMirrorClient(cc grpc.ClientConnInterface) MirrorClient {
return &mirrorClient{cc}
}
-func (c *mirrorClient) Register(ctx context.Context, in *payload.Mirror_Targets, opts ...grpc.CallOption) (*payload.Mirror_Targets, error) {
+func (c *mirrorClient) Register(
+ ctx context.Context, in *payload.Mirror_Targets, opts ...grpc.CallOption,
+) (*payload.Mirror_Targets, error) {
out := new(payload.Mirror_Targets)
err := c.cc.Invoke(ctx, "/mirror.v1.Mirror/Register", in, out, opts...)
if err != nil {
@@ -60,10 +75,11 @@ type MirrorServer interface {
}
// UnimplementedMirrorServer must be embedded to have forward compatible implementations.
-type UnimplementedMirrorServer struct {
-}
+type UnimplementedMirrorServer struct{}
-func (UnimplementedMirrorServer) Register(context.Context, *payload.Mirror_Targets) (*payload.Mirror_Targets, error) {
+func (UnimplementedMirrorServer) Register(
+ context.Context, *payload.Mirror_Targets,
+) (*payload.Mirror_Targets, error) {
return nil, status.Errorf(codes.Unimplemented, "method Register not implemented")
}
func (UnimplementedMirrorServer) mustEmbedUnimplementedMirrorServer() {}
@@ -79,7 +95,9 @@ func RegisterMirrorServer(s grpc.ServiceRegistrar, srv MirrorServer) {
s.RegisterService(&Mirror_ServiceDesc, srv)
}
-func _Mirror_Register_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Mirror_Register_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Mirror_Targets)
if err := dec(in); err != nil {
return nil, err
diff --git a/apis/grpc/v1/payload/payload.pb.go b/apis/grpc/v1/payload/payload.pb.go
index 2c8c950bb0e..6a20716558f 100644
--- a/apis/grpc/v1/payload/payload.pb.go
+++ b/apis/grpc/v1/payload/payload.pb.go
@@ -23,14 +23,15 @@
package payload
import (
+ reflect "reflect"
+
_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
+ sync "github.com/vdaas/vald/internal/sync"
status "google.golang.org/genproto/googleapis/rpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
anypb "google.golang.org/protobuf/types/known/anypb"
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
- reflect "reflect"
- sync "github.com/vdaas/vald/internal/sync"
)
const (
@@ -717,7 +718,7 @@ type Search_Request struct {
// The vector to be searched.
Vector []float32 `protobuf:"fixed32,1,rep,packed,name=vector,proto3" json:"vector,omitempty"`
// The configuration of the search request.
- Config *Search_Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
+ Config *Search_Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
}
func (x *Search_Request) Reset() {
@@ -822,7 +823,7 @@ type Search_IDRequest struct {
unknownFields protoimpl.UnknownFields
// The vector ID to be searched.
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The configuration of the search request.
Config *Search_Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
}
@@ -929,9 +930,9 @@ type Search_ObjectRequest struct {
unknownFields protoimpl.UnknownFields
// The binary object to be searched.
- Object []byte `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
+ Object []byte `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
// The configuration of the search request.
- Config *Search_Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
+ Config *Search_Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
// Filter configuration.
Vectorizer *Filter_Target `protobuf:"bytes,3,opt,name=vectorizer,proto3" json:"vectorizer,omitempty"`
}
@@ -1045,27 +1046,27 @@ type Search_Config struct {
unknownFields protoimpl.UnknownFields
// Unique request ID.
- RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
+ RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Maximum number of result to be returned.
- Num uint32 `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"`
+ Num uint32 `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"`
// Search radius.
- Radius float32 `protobuf:"fixed32,3,opt,name=radius,proto3" json:"radius,omitempty"`
+ Radius float32 `protobuf:"fixed32,3,opt,name=radius,proto3" json:"radius,omitempty"`
// Search coefficient.
- Epsilon float32 `protobuf:"fixed32,4,opt,name=epsilon,proto3" json:"epsilon,omitempty"`
+ Epsilon float32 `protobuf:"fixed32,4,opt,name=epsilon,proto3" json:"epsilon,omitempty"`
// Search timeout in nanoseconds.
- Timeout int64 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
+ 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,opt,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,opt,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"`
+ MinNum uint32 `protobuf:"varint,8,opt,name=min_num,json=minNum,proto3" json:"min_num,omitempty"`
// Aggregation Algorithm
AggregationAlgorithm Search_AggregationAlgorithm `protobuf:"varint,9,opt,name=aggregation_algorithm,json=aggregationAlgorithm,proto3,enum=payload.v1.Search_AggregationAlgorithm" json:"aggregation_algorithm,omitempty"`
// Search ratio for agent return result number.
- Ratio *wrapperspb.FloatValue `protobuf:"bytes,10,opt,name=ratio,proto3" json:"ratio,omitempty"`
+ Ratio *wrapperspb.FloatValue `protobuf:"bytes,10,opt,name=ratio,proto3" json:"ratio,omitempty"`
// Search nprobe.
- Nprobe uint32 `protobuf:"varint,11,opt,name=nprobe,proto3" json:"nprobe,omitempty"`
+ Nprobe uint32 `protobuf:"varint,11,opt,name=nprobe,proto3" json:"nprobe,omitempty"`
}
func (x *Search_Config) Reset() {
@@ -1186,7 +1187,7 @@ type Search_Response struct {
// The unique request ID.
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Search results.
- Results []*Object_Distance `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
+ Results []*Object_Distance `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
}
func (x *Search_Response) Reset() {
@@ -1375,7 +1376,7 @@ type Filter_Target struct {
unknownFields protoimpl.UnknownFields
// The target hostname.
- Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
+ Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
// The target port.
Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
}
@@ -1589,9 +1590,9 @@ type Insert_ObjectRequest struct {
unknownFields protoimpl.UnknownFields
// The binary object to be inserted.
- Object *Object_Blob `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
+ Object *Object_Blob `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
// The configuration of the insert request.
- Config *Insert_Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
+ Config *Insert_Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
// Filter configurations.
Vectorizer *Filter_Target `protobuf:"bytes,3,opt,name=vectorizer,proto3" json:"vectorizer,omitempty"`
}
@@ -1707,9 +1708,9 @@ 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,opt,name=filters,proto3" json:"filters,omitempty"`
// Insert timestamp.
- Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
func (x *Insert_Config) Reset() {
@@ -1879,9 +1880,9 @@ type Update_ObjectRequest struct {
unknownFields protoimpl.UnknownFields
// The binary object to be updated.
- Object *Object_Blob `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
+ Object *Object_Blob `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
// The configuration of the update request.
- Config *Update_Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
+ Config *Update_Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
// Filter target.
Vectorizer *Filter_Target `protobuf:"bytes,3,opt,name=vectorizer,proto3" json:"vectorizer,omitempty"`
}
@@ -1995,11 +1996,11 @@ type Update_Config struct {
unknownFields protoimpl.UnknownFields
// 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"`
+ 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,opt,name=filters,proto3" json:"filters,omitempty"`
// Update timestamp.
- Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// A flag to disable balanced update (split remove -> insert operation)
// during update operation.
DisableBalancedUpdate bool `protobuf:"varint,4,opt,name=disable_balanced_update,json=disableBalancedUpdate,proto3" json:"disable_balanced_update,omitempty"`
@@ -2179,9 +2180,9 @@ type Upsert_ObjectRequest struct {
unknownFields protoimpl.UnknownFields
// The binary object to be upserted.
- Object *Object_Blob `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
+ Object *Object_Blob `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
// The configuration of the upsert request.
- Config *Upsert_Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
+ Config *Upsert_Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
// Filter target.
Vectorizer *Filter_Target `protobuf:"bytes,3,opt,name=vectorizer,proto3" json:"vectorizer,omitempty"`
}
@@ -2295,11 +2296,11 @@ type Upsert_Config struct {
unknownFields protoimpl.UnknownFields
// 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"`
+ 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,opt,name=filters,proto3" json:"filters,omitempty"`
// Upsert timestamp.
- Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// A flag to disable balanced update (split remove -> insert operation)
// during update operation.
DisableBalancedUpdate bool `protobuf:"varint,4,opt,name=disable_balanced_update,json=disableBalancedUpdate,proto3" json:"disable_balanced_update,omitempty"`
@@ -2372,7 +2373,7 @@ type Remove_Request struct {
unknownFields protoimpl.UnknownFields
// The object ID to be removed.
- Id *Object_ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ Id *Object_ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The configuration of the remove request.
Config *Remove_Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
}
@@ -2529,7 +2530,7 @@ type Remove_Timestamp struct {
unknownFields protoimpl.UnknownFields
// The timestamp.
- Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// The conditional operator.
Operator Remove_Timestamp_Operator `protobuf:"varint,2,opt,name=operator,proto3,enum=payload.v1.Remove_Timestamp_Operator" json:"operator,omitempty"`
}
@@ -2589,7 +2590,7 @@ type Remove_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"`
// Remove timestamp.
- Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
func (x *Remove_Config) Reset() {
@@ -2683,7 +2684,7 @@ type Object_VectorRequest struct {
unknownFields protoimpl.UnknownFields
// The vector ID to be fetched.
- Id *Object_ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ 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"`
}
@@ -2741,7 +2742,7 @@ type Object_Distance struct {
unknownFields protoimpl.UnknownFields
// The vector ID.
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The distance.
Distance float32 `protobuf:"fixed32,2,opt,name=distance,proto3" json:"distance,omitempty"`
}
@@ -2979,11 +2980,11 @@ type Object_Vector struct {
unknownFields protoimpl.UnknownFields
// The vector ID.
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The vector.
Vector []float32 `protobuf:"fixed32,2,rep,packed,name=vector,proto3" json:"vector,omitempty"`
// timestamp represents when this vector inserted.
- Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
func (x *Object_Vector) Reset() {
@@ -3095,7 +3096,7 @@ type Object_Timestamp struct {
unknownFields protoimpl.UnknownFields
// The vector ID.
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// timestamp represents when this vector inserted.
Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
@@ -3285,7 +3286,7 @@ type Object_ReshapeVector struct {
unknownFields protoimpl.UnknownFields
// The binary object.
- Object []byte `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
+ Object []byte `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
// The new shape.
Shape []int32 `protobuf:"varint,2,rep,packed,name=shape,proto3" json:"shape,omitempty"`
}
@@ -3343,7 +3344,7 @@ type Object_Blob struct {
unknownFields protoimpl.UnknownFields
// The object ID.
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The binary object.
Object []byte `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
}
@@ -3489,7 +3490,7 @@ type Object_Location struct {
// The UUID of the vector.
Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
// The IP list.
- Ips []string `protobuf:"bytes,3,rep,name=ips,proto3" json:"ips,omitempty"`
+ Ips []string `protobuf:"bytes,3,rep,name=ips,proto3" json:"ips,omitempty"`
}
func (x *Object_Location) Reset() {
@@ -3893,11 +3894,11 @@ type Discoverer_Request struct {
unknownFields protoimpl.UnknownFields
// The agent name to be discovered.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The namespace to be discovered.
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
// The node to be discovered.
- Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"`
+ Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"`
}
func (x *Discoverer_Request) Reset() {
@@ -4001,17 +4002,17 @@ type Info_Pod struct {
// The app name of the pod on the label.
AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
// The name of the pod.
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// The namespace of the pod.
- Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
+ Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
// The IP of the pod.
- Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
+ Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
// The CPU information of the pod.
- Cpu *Info_CPU `protobuf:"bytes,5,opt,name=cpu,proto3" json:"cpu,omitempty"`
+ Cpu *Info_CPU `protobuf:"bytes,5,opt,name=cpu,proto3" json:"cpu,omitempty"`
// The memory information of the pod.
- Memory *Info_Memory `protobuf:"bytes,6,opt,name=memory,proto3" json:"memory,omitempty"`
+ Memory *Info_Memory `protobuf:"bytes,6,opt,name=memory,proto3" json:"memory,omitempty"`
// The node information of the pod.
- Node *Info_Node `protobuf:"bytes,7,opt,name=node,proto3" json:"node,omitempty"`
+ Node *Info_Node `protobuf:"bytes,7,opt,name=node,proto3" json:"node,omitempty"`
}
func (x *Info_Pod) Reset() {
@@ -4102,17 +4103,17 @@ type Info_Node struct {
unknownFields protoimpl.UnknownFields
// The name of the node.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The internal IP address of the node.
InternalAddr string `protobuf:"bytes,2,opt,name=internal_addr,json=internalAddr,proto3" json:"internal_addr,omitempty"`
// The external IP address of the node.
ExternalAddr string `protobuf:"bytes,3,opt,name=external_addr,json=externalAddr,proto3" json:"external_addr,omitempty"`
// The CPU information of the node.
- Cpu *Info_CPU `protobuf:"bytes,4,opt,name=cpu,proto3" json:"cpu,omitempty"`
+ Cpu *Info_CPU `protobuf:"bytes,4,opt,name=cpu,proto3" json:"cpu,omitempty"`
// The memory information of the node.
- Memory *Info_Memory `protobuf:"bytes,5,opt,name=memory,proto3" json:"memory,omitempty"`
+ Memory *Info_Memory `protobuf:"bytes,5,opt,name=memory,proto3" json:"memory,omitempty"`
// The pod information of the node.
- Pods *Info_Pods `protobuf:"bytes,6,opt,name=Pods,proto3" json:"Pods,omitempty"`
+ Pods *Info_Pods `protobuf:"bytes,6,opt,name=Pods,proto3" json:"Pods,omitempty"`
}
func (x *Info_Node) Reset() {
@@ -4196,17 +4197,17 @@ type Info_Service struct {
unknownFields protoimpl.UnknownFields
// The name of the svc.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The cluster ip of the svc.
- ClusterIp string `protobuf:"bytes,2,opt,name=cluster_ip,json=clusterIp,proto3" json:"cluster_ip,omitempty"`
+ ClusterIp string `protobuf:"bytes,2,opt,name=cluster_ip,json=clusterIp,proto3" json:"cluster_ip,omitempty"`
// The cluster ips of the svc.
ClusterIps []string `protobuf:"bytes,3,rep,name=cluster_ips,json=clusterIps,proto3" json:"cluster_ips,omitempty"`
// The port of the svc.
- Ports []*Info_ServicePort `protobuf:"bytes,4,rep,name=ports,proto3" json:"ports,omitempty"`
+ Ports []*Info_ServicePort `protobuf:"bytes,4,rep,name=ports,proto3" json:"ports,omitempty"`
// The labels of the service.
- Labels *Info_Labels `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"`
+ Labels *Info_Labels `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"`
// The annotations of the service.
- Annotations *Info_Annotations `protobuf:"bytes,6,opt,name=annotations,proto3" json:"annotations,omitempty"`
+ Annotations *Info_Annotations `protobuf:"bytes,6,opt,name=annotations,proto3" json:"annotations,omitempty"`
}
func (x *Info_Service) Reset() {
@@ -4290,7 +4291,7 @@ type Info_ServicePort struct {
unknownFields protoimpl.UnknownFields
// The name of the port.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The port number
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
}
@@ -4444,11 +4445,11 @@ type Info_CPU struct {
unknownFields protoimpl.UnknownFields
// The CPU resource limit.
- Limit float64 `protobuf:"fixed64,1,opt,name=limit,proto3" json:"limit,omitempty"`
+ Limit float64 `protobuf:"fixed64,1,opt,name=limit,proto3" json:"limit,omitempty"`
// The CPU resource requested.
Request float64 `protobuf:"fixed64,2,opt,name=request,proto3" json:"request,omitempty"`
// The CPU usage.
- Usage float64 `protobuf:"fixed64,3,opt,name=usage,proto3" json:"usage,omitempty"`
+ Usage float64 `protobuf:"fixed64,3,opt,name=usage,proto3" json:"usage,omitempty"`
}
func (x *Info_CPU) Reset() {
@@ -4511,11 +4512,11 @@ type Info_Memory struct {
unknownFields protoimpl.UnknownFields
// The memory limit.
- Limit float64 `protobuf:"fixed64,1,opt,name=limit,proto3" json:"limit,omitempty"`
+ Limit float64 `protobuf:"fixed64,1,opt,name=limit,proto3" json:"limit,omitempty"`
// The memory requested.
Request float64 `protobuf:"fixed64,2,opt,name=request,proto3" json:"request,omitempty"`
// The memory usage.
- Usage float64 `protobuf:"fixed64,3,opt,name=usage,proto3" json:"usage,omitempty"`
+ Usage float64 `protobuf:"fixed64,3,opt,name=usage,proto3" json:"usage,omitempty"`
}
func (x *Info_Memory) Reset() {
@@ -4773,13 +4774,13 @@ type Info_Index_Count struct {
unknownFields protoimpl.UnknownFields
// The stored index count.
- Stored uint32 `protobuf:"varint,1,opt,name=stored,proto3" json:"stored,omitempty"`
+ Stored uint32 `protobuf:"varint,1,opt,name=stored,proto3" json:"stored,omitempty"`
// The uncommitted index count.
Uncommitted uint32 `protobuf:"varint,2,opt,name=uncommitted,proto3" json:"uncommitted,omitempty"`
// The indexing index count.
- Indexing bool `protobuf:"varint,3,opt,name=indexing,proto3" json:"indexing,omitempty"`
+ Indexing bool `protobuf:"varint,3,opt,name=indexing,proto3" json:"indexing,omitempty"`
// The saving index count.
- Saving bool `protobuf:"varint,4,opt,name=saving,proto3" json:"saving,omitempty"`
+ Saving bool `protobuf:"varint,4,opt,name=saving,proto3" json:"saving,omitempty"`
}
func (x *Info_Index_Count) Reset() {
@@ -4849,9 +4850,9 @@ type Info_Index_Detail struct {
unknownFields protoimpl.UnknownFields
// count infos for each agents
- Counts map[string]*Info_Index_Count `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ Counts map[string]*Info_Index_Count `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// index replica of vald cluster
- Replica uint32 `protobuf:"varint,2,opt,name=replica,proto3" json:"replica,omitempty"`
+ Replica uint32 `protobuf:"varint,2,opt,name=replica,proto3" json:"replica,omitempty"`
// live agent replica of vald cluster
LiveAgents uint32 `protobuf:"varint,3,opt,name=live_agents,json=liveAgents,proto3" json:"live_agents,omitempty"`
}
@@ -4954,39 +4955,39 @@ type Info_Index_Statistics struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
- MedianIndegree int32 `protobuf:"varint,2,opt,name=median_indegree,json=medianIndegree,proto3" json:"median_indegree,omitempty"`
- MedianOutdegree int32 `protobuf:"varint,3,opt,name=median_outdegree,json=medianOutdegree,proto3" json:"median_outdegree,omitempty"`
- MaxNumberOfIndegree uint64 `protobuf:"varint,4,opt,name=max_number_of_indegree,json=maxNumberOfIndegree,proto3" json:"max_number_of_indegree,omitempty"`
- MaxNumberOfOutdegree uint64 `protobuf:"varint,5,opt,name=max_number_of_outdegree,json=maxNumberOfOutdegree,proto3" json:"max_number_of_outdegree,omitempty"`
- MinNumberOfIndegree uint64 `protobuf:"varint,6,opt,name=min_number_of_indegree,json=minNumberOfIndegree,proto3" json:"min_number_of_indegree,omitempty"`
- MinNumberOfOutdegree uint64 `protobuf:"varint,7,opt,name=min_number_of_outdegree,json=minNumberOfOutdegree,proto3" json:"min_number_of_outdegree,omitempty"`
- ModeIndegree uint64 `protobuf:"varint,8,opt,name=mode_indegree,json=modeIndegree,proto3" json:"mode_indegree,omitempty"`
- ModeOutdegree uint64 `protobuf:"varint,9,opt,name=mode_outdegree,json=modeOutdegree,proto3" json:"mode_outdegree,omitempty"`
- NodesSkippedFor10Edges uint64 `protobuf:"varint,10,opt,name=nodes_skipped_for_10_edges,json=nodesSkippedFor10Edges,proto3" json:"nodes_skipped_for_10_edges,omitempty"`
- NodesSkippedForIndegreeDistance uint64 `protobuf:"varint,11,opt,name=nodes_skipped_for_indegree_distance,json=nodesSkippedForIndegreeDistance,proto3" json:"nodes_skipped_for_indegree_distance,omitempty"`
- NumberOfEdges uint64 `protobuf:"varint,12,opt,name=number_of_edges,json=numberOfEdges,proto3" json:"number_of_edges,omitempty"`
- NumberOfIndexedObjects uint64 `protobuf:"varint,13,opt,name=number_of_indexed_objects,json=numberOfIndexedObjects,proto3" json:"number_of_indexed_objects,omitempty"`
- NumberOfNodes uint64 `protobuf:"varint,14,opt,name=number_of_nodes,json=numberOfNodes,proto3" json:"number_of_nodes,omitempty"`
- NumberOfNodesWithoutEdges uint64 `protobuf:"varint,15,opt,name=number_of_nodes_without_edges,json=numberOfNodesWithoutEdges,proto3" json:"number_of_nodes_without_edges,omitempty"`
- NumberOfNodesWithoutIndegree uint64 `protobuf:"varint,16,opt,name=number_of_nodes_without_indegree,json=numberOfNodesWithoutIndegree,proto3" json:"number_of_nodes_without_indegree,omitempty"`
- NumberOfObjects uint64 `protobuf:"varint,17,opt,name=number_of_objects,json=numberOfObjects,proto3" json:"number_of_objects,omitempty"`
- NumberOfRemovedObjects uint64 `protobuf:"varint,18,opt,name=number_of_removed_objects,json=numberOfRemovedObjects,proto3" json:"number_of_removed_objects,omitempty"`
- SizeOfObjectRepository uint64 `protobuf:"varint,19,opt,name=size_of_object_repository,json=sizeOfObjectRepository,proto3" json:"size_of_object_repository,omitempty"`
+ Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
+ MedianIndegree int32 `protobuf:"varint,2,opt,name=median_indegree,json=medianIndegree,proto3" json:"median_indegree,omitempty"`
+ MedianOutdegree int32 `protobuf:"varint,3,opt,name=median_outdegree,json=medianOutdegree,proto3" json:"median_outdegree,omitempty"`
+ MaxNumberOfIndegree uint64 `protobuf:"varint,4,opt,name=max_number_of_indegree,json=maxNumberOfIndegree,proto3" json:"max_number_of_indegree,omitempty"`
+ MaxNumberOfOutdegree uint64 `protobuf:"varint,5,opt,name=max_number_of_outdegree,json=maxNumberOfOutdegree,proto3" json:"max_number_of_outdegree,omitempty"`
+ MinNumberOfIndegree uint64 `protobuf:"varint,6,opt,name=min_number_of_indegree,json=minNumberOfIndegree,proto3" json:"min_number_of_indegree,omitempty"`
+ MinNumberOfOutdegree uint64 `protobuf:"varint,7,opt,name=min_number_of_outdegree,json=minNumberOfOutdegree,proto3" json:"min_number_of_outdegree,omitempty"`
+ ModeIndegree uint64 `protobuf:"varint,8,opt,name=mode_indegree,json=modeIndegree,proto3" json:"mode_indegree,omitempty"`
+ ModeOutdegree uint64 `protobuf:"varint,9,opt,name=mode_outdegree,json=modeOutdegree,proto3" json:"mode_outdegree,omitempty"`
+ NodesSkippedFor10Edges uint64 `protobuf:"varint,10,opt,name=nodes_skipped_for_10_edges,json=nodesSkippedFor10Edges,proto3" json:"nodes_skipped_for_10_edges,omitempty"`
+ NodesSkippedForIndegreeDistance uint64 `protobuf:"varint,11,opt,name=nodes_skipped_for_indegree_distance,json=nodesSkippedForIndegreeDistance,proto3" json:"nodes_skipped_for_indegree_distance,omitempty"`
+ NumberOfEdges uint64 `protobuf:"varint,12,opt,name=number_of_edges,json=numberOfEdges,proto3" json:"number_of_edges,omitempty"`
+ NumberOfIndexedObjects uint64 `protobuf:"varint,13,opt,name=number_of_indexed_objects,json=numberOfIndexedObjects,proto3" json:"number_of_indexed_objects,omitempty"`
+ NumberOfNodes uint64 `protobuf:"varint,14,opt,name=number_of_nodes,json=numberOfNodes,proto3" json:"number_of_nodes,omitempty"`
+ NumberOfNodesWithoutEdges uint64 `protobuf:"varint,15,opt,name=number_of_nodes_without_edges,json=numberOfNodesWithoutEdges,proto3" json:"number_of_nodes_without_edges,omitempty"`
+ NumberOfNodesWithoutIndegree uint64 `protobuf:"varint,16,opt,name=number_of_nodes_without_indegree,json=numberOfNodesWithoutIndegree,proto3" json:"number_of_nodes_without_indegree,omitempty"`
+ NumberOfObjects uint64 `protobuf:"varint,17,opt,name=number_of_objects,json=numberOfObjects,proto3" json:"number_of_objects,omitempty"`
+ NumberOfRemovedObjects uint64 `protobuf:"varint,18,opt,name=number_of_removed_objects,json=numberOfRemovedObjects,proto3" json:"number_of_removed_objects,omitempty"`
+ SizeOfObjectRepository uint64 `protobuf:"varint,19,opt,name=size_of_object_repository,json=sizeOfObjectRepository,proto3" json:"size_of_object_repository,omitempty"`
SizeOfRefinementObjectRepository uint64 `protobuf:"varint,20,opt,name=size_of_refinement_object_repository,json=sizeOfRefinementObjectRepository,proto3" json:"size_of_refinement_object_repository,omitempty"`
- VarianceOfIndegree float64 `protobuf:"fixed64,21,opt,name=variance_of_indegree,json=varianceOfIndegree,proto3" json:"variance_of_indegree,omitempty"`
- VarianceOfOutdegree float64 `protobuf:"fixed64,22,opt,name=variance_of_outdegree,json=varianceOfOutdegree,proto3" json:"variance_of_outdegree,omitempty"`
- MeanEdgeLength float64 `protobuf:"fixed64,23,opt,name=mean_edge_length,json=meanEdgeLength,proto3" json:"mean_edge_length,omitempty"`
- MeanEdgeLengthFor10Edges float64 `protobuf:"fixed64,24,opt,name=mean_edge_length_for_10_edges,json=meanEdgeLengthFor10Edges,proto3" json:"mean_edge_length_for_10_edges,omitempty"`
- MeanIndegreeDistanceFor10Edges float64 `protobuf:"fixed64,25,opt,name=mean_indegree_distance_for_10_edges,json=meanIndegreeDistanceFor10Edges,proto3" json:"mean_indegree_distance_for_10_edges,omitempty"`
- MeanNumberOfEdgesPerNode float64 `protobuf:"fixed64,26,opt,name=mean_number_of_edges_per_node,json=meanNumberOfEdgesPerNode,proto3" json:"mean_number_of_edges_per_node,omitempty"`
- C1Indegree float64 `protobuf:"fixed64,27,opt,name=c1_indegree,json=c1Indegree,proto3" json:"c1_indegree,omitempty"`
- C5Indegree float64 `protobuf:"fixed64,28,opt,name=c5_indegree,json=c5Indegree,proto3" json:"c5_indegree,omitempty"`
- C95Outdegree float64 `protobuf:"fixed64,29,opt,name=c95_outdegree,json=c95Outdegree,proto3" json:"c95_outdegree,omitempty"`
- C99Outdegree float64 `protobuf:"fixed64,30,opt,name=c99_outdegree,json=c99Outdegree,proto3" json:"c99_outdegree,omitempty"`
- IndegreeCount []int64 `protobuf:"varint,31,rep,packed,name=indegree_count,json=indegreeCount,proto3" json:"indegree_count,omitempty"`
- OutdegreeHistogram []uint64 `protobuf:"varint,32,rep,packed,name=outdegree_histogram,json=outdegreeHistogram,proto3" json:"outdegree_histogram,omitempty"`
- IndegreeHistogram []uint64 `protobuf:"varint,33,rep,packed,name=indegree_histogram,json=indegreeHistogram,proto3" json:"indegree_histogram,omitempty"`
+ VarianceOfIndegree float64 `protobuf:"fixed64,21,opt,name=variance_of_indegree,json=varianceOfIndegree,proto3" json:"variance_of_indegree,omitempty"`
+ VarianceOfOutdegree float64 `protobuf:"fixed64,22,opt,name=variance_of_outdegree,json=varianceOfOutdegree,proto3" json:"variance_of_outdegree,omitempty"`
+ MeanEdgeLength float64 `protobuf:"fixed64,23,opt,name=mean_edge_length,json=meanEdgeLength,proto3" json:"mean_edge_length,omitempty"`
+ MeanEdgeLengthFor10Edges float64 `protobuf:"fixed64,24,opt,name=mean_edge_length_for_10_edges,json=meanEdgeLengthFor10Edges,proto3" json:"mean_edge_length_for_10_edges,omitempty"`
+ MeanIndegreeDistanceFor10Edges float64 `protobuf:"fixed64,25,opt,name=mean_indegree_distance_for_10_edges,json=meanIndegreeDistanceFor10Edges,proto3" json:"mean_indegree_distance_for_10_edges,omitempty"`
+ MeanNumberOfEdgesPerNode float64 `protobuf:"fixed64,26,opt,name=mean_number_of_edges_per_node,json=meanNumberOfEdgesPerNode,proto3" json:"mean_number_of_edges_per_node,omitempty"`
+ C1Indegree float64 `protobuf:"fixed64,27,opt,name=c1_indegree,json=c1Indegree,proto3" json:"c1_indegree,omitempty"`
+ C5Indegree float64 `protobuf:"fixed64,28,opt,name=c5_indegree,json=c5Indegree,proto3" json:"c5_indegree,omitempty"`
+ C95Outdegree float64 `protobuf:"fixed64,29,opt,name=c95_outdegree,json=c95Outdegree,proto3" json:"c95_outdegree,omitempty"`
+ C99Outdegree float64 `protobuf:"fixed64,30,opt,name=c99_outdegree,json=c99Outdegree,proto3" json:"c99_outdegree,omitempty"`
+ IndegreeCount []int64 `protobuf:"varint,31,rep,packed,name=indegree_count,json=indegreeCount,proto3" json:"indegree_count,omitempty"`
+ OutdegreeHistogram []uint64 `protobuf:"varint,32,rep,packed,name=outdegree_histogram,json=outdegreeHistogram,proto3" json:"outdegree_histogram,omitempty"`
+ IndegreeHistogram []uint64 `protobuf:"varint,33,rep,packed,name=indegree_histogram,json=indegreeHistogram,proto3" json:"indegree_histogram,omitempty"`
}
func (x *Info_Index_Statistics) Reset() {
@@ -5307,40 +5308,40 @@ type Info_Index_Property struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Dimension int32 `protobuf:"varint,1,opt,name=dimension,proto3" json:"dimension,omitempty"`
- ThreadPoolSize int32 `protobuf:"varint,2,opt,name=thread_pool_size,json=threadPoolSize,proto3" json:"thread_pool_size,omitempty"`
- ObjectType string `protobuf:"bytes,3,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"`
- DistanceType string `protobuf:"bytes,4,opt,name=distance_type,json=distanceType,proto3" json:"distance_type,omitempty"`
- IndexType string `protobuf:"bytes,5,opt,name=index_type,json=indexType,proto3" json:"index_type,omitempty"`
- DatabaseType string `protobuf:"bytes,6,opt,name=database_type,json=databaseType,proto3" json:"database_type,omitempty"`
- ObjectAlignment string `protobuf:"bytes,7,opt,name=object_alignment,json=objectAlignment,proto3" json:"object_alignment,omitempty"`
- PathAdjustmentInterval int32 `protobuf:"varint,8,opt,name=path_adjustment_interval,json=pathAdjustmentInterval,proto3" json:"path_adjustment_interval,omitempty"`
- GraphSharedMemorySize int32 `protobuf:"varint,9,opt,name=graph_shared_memory_size,json=graphSharedMemorySize,proto3" json:"graph_shared_memory_size,omitempty"`
- TreeSharedMemorySize int32 `protobuf:"varint,10,opt,name=tree_shared_memory_size,json=treeSharedMemorySize,proto3" json:"tree_shared_memory_size,omitempty"`
- ObjectSharedMemorySize int32 `protobuf:"varint,11,opt,name=object_shared_memory_size,json=objectSharedMemorySize,proto3" json:"object_shared_memory_size,omitempty"`
- PrefetchOffset int32 `protobuf:"varint,12,opt,name=prefetch_offset,json=prefetchOffset,proto3" json:"prefetch_offset,omitempty"`
- PrefetchSize int32 `protobuf:"varint,13,opt,name=prefetch_size,json=prefetchSize,proto3" json:"prefetch_size,omitempty"`
- AccuracyTable string `protobuf:"bytes,14,opt,name=accuracy_table,json=accuracyTable,proto3" json:"accuracy_table,omitempty"`
- SearchType string `protobuf:"bytes,15,opt,name=search_type,json=searchType,proto3" json:"search_type,omitempty"`
- MaxMagnitude float32 `protobuf:"fixed32,16,opt,name=max_magnitude,json=maxMagnitude,proto3" json:"max_magnitude,omitempty"`
+ Dimension int32 `protobuf:"varint,1,opt,name=dimension,proto3" json:"dimension,omitempty"`
+ ThreadPoolSize int32 `protobuf:"varint,2,opt,name=thread_pool_size,json=threadPoolSize,proto3" json:"thread_pool_size,omitempty"`
+ ObjectType string `protobuf:"bytes,3,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"`
+ DistanceType string `protobuf:"bytes,4,opt,name=distance_type,json=distanceType,proto3" json:"distance_type,omitempty"`
+ IndexType string `protobuf:"bytes,5,opt,name=index_type,json=indexType,proto3" json:"index_type,omitempty"`
+ DatabaseType string `protobuf:"bytes,6,opt,name=database_type,json=databaseType,proto3" json:"database_type,omitempty"`
+ ObjectAlignment string `protobuf:"bytes,7,opt,name=object_alignment,json=objectAlignment,proto3" json:"object_alignment,omitempty"`
+ PathAdjustmentInterval int32 `protobuf:"varint,8,opt,name=path_adjustment_interval,json=pathAdjustmentInterval,proto3" json:"path_adjustment_interval,omitempty"`
+ GraphSharedMemorySize int32 `protobuf:"varint,9,opt,name=graph_shared_memory_size,json=graphSharedMemorySize,proto3" json:"graph_shared_memory_size,omitempty"`
+ TreeSharedMemorySize int32 `protobuf:"varint,10,opt,name=tree_shared_memory_size,json=treeSharedMemorySize,proto3" json:"tree_shared_memory_size,omitempty"`
+ ObjectSharedMemorySize int32 `protobuf:"varint,11,opt,name=object_shared_memory_size,json=objectSharedMemorySize,proto3" json:"object_shared_memory_size,omitempty"`
+ PrefetchOffset int32 `protobuf:"varint,12,opt,name=prefetch_offset,json=prefetchOffset,proto3" json:"prefetch_offset,omitempty"`
+ PrefetchSize int32 `protobuf:"varint,13,opt,name=prefetch_size,json=prefetchSize,proto3" json:"prefetch_size,omitempty"`
+ AccuracyTable string `protobuf:"bytes,14,opt,name=accuracy_table,json=accuracyTable,proto3" json:"accuracy_table,omitempty"`
+ SearchType string `protobuf:"bytes,15,opt,name=search_type,json=searchType,proto3" json:"search_type,omitempty"`
+ MaxMagnitude float32 `protobuf:"fixed32,16,opt,name=max_magnitude,json=maxMagnitude,proto3" json:"max_magnitude,omitempty"`
NOfNeighborsForInsertionOrder int32 `protobuf:"varint,17,opt,name=n_of_neighbors_for_insertion_order,json=nOfNeighborsForInsertionOrder,proto3" json:"n_of_neighbors_for_insertion_order,omitempty"`
- EpsilonForInsertionOrder float32 `protobuf:"fixed32,18,opt,name=epsilon_for_insertion_order,json=epsilonForInsertionOrder,proto3" json:"epsilon_for_insertion_order,omitempty"`
- RefinementObjectType string `protobuf:"bytes,19,opt,name=refinement_object_type,json=refinementObjectType,proto3" json:"refinement_object_type,omitempty"`
- TruncationThreshold int32 `protobuf:"varint,20,opt,name=truncation_threshold,json=truncationThreshold,proto3" json:"truncation_threshold,omitempty"`
- EdgeSizeForCreation int32 `protobuf:"varint,21,opt,name=edge_size_for_creation,json=edgeSizeForCreation,proto3" json:"edge_size_for_creation,omitempty"`
- EdgeSizeForSearch int32 `protobuf:"varint,22,opt,name=edge_size_for_search,json=edgeSizeForSearch,proto3" json:"edge_size_for_search,omitempty"`
- EdgeSizeLimitForCreation int32 `protobuf:"varint,23,opt,name=edge_size_limit_for_creation,json=edgeSizeLimitForCreation,proto3" json:"edge_size_limit_for_creation,omitempty"`
- InsertionRadiusCoefficient float64 `protobuf:"fixed64,24,opt,name=insertion_radius_coefficient,json=insertionRadiusCoefficient,proto3" json:"insertion_radius_coefficient,omitempty"`
- SeedSize int32 `protobuf:"varint,25,opt,name=seed_size,json=seedSize,proto3" json:"seed_size,omitempty"`
- SeedType string `protobuf:"bytes,26,opt,name=seed_type,json=seedType,proto3" json:"seed_type,omitempty"`
- TruncationThreadPoolSize int32 `protobuf:"varint,27,opt,name=truncation_thread_pool_size,json=truncationThreadPoolSize,proto3" json:"truncation_thread_pool_size,omitempty"`
- BatchSizeForCreation int32 `protobuf:"varint,28,opt,name=batch_size_for_creation,json=batchSizeForCreation,proto3" json:"batch_size_for_creation,omitempty"`
- GraphType string `protobuf:"bytes,29,opt,name=graph_type,json=graphType,proto3" json:"graph_type,omitempty"`
- DynamicEdgeSizeBase int32 `protobuf:"varint,30,opt,name=dynamic_edge_size_base,json=dynamicEdgeSizeBase,proto3" json:"dynamic_edge_size_base,omitempty"`
- DynamicEdgeSizeRate int32 `protobuf:"varint,31,opt,name=dynamic_edge_size_rate,json=dynamicEdgeSizeRate,proto3" json:"dynamic_edge_size_rate,omitempty"`
- BuildTimeLimit float32 `protobuf:"fixed32,32,opt,name=build_time_limit,json=buildTimeLimit,proto3" json:"build_time_limit,omitempty"`
- OutgoingEdge int32 `protobuf:"varint,33,opt,name=outgoing_edge,json=outgoingEdge,proto3" json:"outgoing_edge,omitempty"`
- IncomingEdge int32 `protobuf:"varint,34,opt,name=incoming_edge,json=incomingEdge,proto3" json:"incoming_edge,omitempty"`
+ EpsilonForInsertionOrder float32 `protobuf:"fixed32,18,opt,name=epsilon_for_insertion_order,json=epsilonForInsertionOrder,proto3" json:"epsilon_for_insertion_order,omitempty"`
+ RefinementObjectType string `protobuf:"bytes,19,opt,name=refinement_object_type,json=refinementObjectType,proto3" json:"refinement_object_type,omitempty"`
+ TruncationThreshold int32 `protobuf:"varint,20,opt,name=truncation_threshold,json=truncationThreshold,proto3" json:"truncation_threshold,omitempty"`
+ EdgeSizeForCreation int32 `protobuf:"varint,21,opt,name=edge_size_for_creation,json=edgeSizeForCreation,proto3" json:"edge_size_for_creation,omitempty"`
+ EdgeSizeForSearch int32 `protobuf:"varint,22,opt,name=edge_size_for_search,json=edgeSizeForSearch,proto3" json:"edge_size_for_search,omitempty"`
+ EdgeSizeLimitForCreation int32 `protobuf:"varint,23,opt,name=edge_size_limit_for_creation,json=edgeSizeLimitForCreation,proto3" json:"edge_size_limit_for_creation,omitempty"`
+ InsertionRadiusCoefficient float64 `protobuf:"fixed64,24,opt,name=insertion_radius_coefficient,json=insertionRadiusCoefficient,proto3" json:"insertion_radius_coefficient,omitempty"`
+ SeedSize int32 `protobuf:"varint,25,opt,name=seed_size,json=seedSize,proto3" json:"seed_size,omitempty"`
+ SeedType string `protobuf:"bytes,26,opt,name=seed_type,json=seedType,proto3" json:"seed_type,omitempty"`
+ TruncationThreadPoolSize int32 `protobuf:"varint,27,opt,name=truncation_thread_pool_size,json=truncationThreadPoolSize,proto3" json:"truncation_thread_pool_size,omitempty"`
+ BatchSizeForCreation int32 `protobuf:"varint,28,opt,name=batch_size_for_creation,json=batchSizeForCreation,proto3" json:"batch_size_for_creation,omitempty"`
+ GraphType string `protobuf:"bytes,29,opt,name=graph_type,json=graphType,proto3" json:"graph_type,omitempty"`
+ DynamicEdgeSizeBase int32 `protobuf:"varint,30,opt,name=dynamic_edge_size_base,json=dynamicEdgeSizeBase,proto3" json:"dynamic_edge_size_base,omitempty"`
+ DynamicEdgeSizeRate int32 `protobuf:"varint,31,opt,name=dynamic_edge_size_rate,json=dynamicEdgeSizeRate,proto3" json:"dynamic_edge_size_rate,omitempty"`
+ BuildTimeLimit float32 `protobuf:"fixed32,32,opt,name=build_time_limit,json=buildTimeLimit,proto3" json:"build_time_limit,omitempty"`
+ OutgoingEdge int32 `protobuf:"varint,33,opt,name=outgoing_edge,json=outgoingEdge,proto3" json:"outgoing_edge,omitempty"`
+ IncomingEdge int32 `protobuf:"varint,34,opt,name=incoming_edge,json=incomingEdge,proto3" json:"incoming_edge,omitempty"`
}
func (x *Info_Index_Property) Reset() {
@@ -5764,7 +5765,7 @@ type Mirror_Target struct {
unknownFields protoimpl.UnknownFields
// The target hostname.
- Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
+ Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
// The target port.
Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
}
@@ -5963,7 +5964,7 @@ type Meta_KeyValue struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Key *Meta_Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
+ Key *Meta_Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value *Meta_Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}
@@ -6774,115 +6775,117 @@ func file_v1_payload_payload_proto_rawDescGZIP() []byte {
return file_v1_payload_payload_proto_rawDescData
}
-var file_v1_payload_payload_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
-var file_v1_payload_payload_proto_msgTypes = make([]protoimpl.MessageInfo, 100)
-var 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
- (*Search)(nil), // 2: payload.v1.Search
- (*Filter)(nil), // 3: payload.v1.Filter
- (*Insert)(nil), // 4: payload.v1.Insert
- (*Update)(nil), // 5: payload.v1.Update
- (*Upsert)(nil), // 6: payload.v1.Upsert
- (*Remove)(nil), // 7: payload.v1.Remove
- (*Flush)(nil), // 8: payload.v1.Flush
- (*Object)(nil), // 9: payload.v1.Object
- (*Control)(nil), // 10: payload.v1.Control
- (*Discoverer)(nil), // 11: payload.v1.Discoverer
- (*Info)(nil), // 12: payload.v1.Info
- (*Mirror)(nil), // 13: payload.v1.Mirror
- (*Meta)(nil), // 14: payload.v1.Meta
- (*Empty)(nil), // 15: payload.v1.Empty
- (*Search_Request)(nil), // 16: payload.v1.Search.Request
- (*Search_MultiRequest)(nil), // 17: payload.v1.Search.MultiRequest
- (*Search_IDRequest)(nil), // 18: payload.v1.Search.IDRequest
- (*Search_MultiIDRequest)(nil), // 19: payload.v1.Search.MultiIDRequest
- (*Search_ObjectRequest)(nil), // 20: payload.v1.Search.ObjectRequest
- (*Search_MultiObjectRequest)(nil), // 21: payload.v1.Search.MultiObjectRequest
- (*Search_Config)(nil), // 22: payload.v1.Search.Config
- (*Search_Response)(nil), // 23: payload.v1.Search.Response
- (*Search_Responses)(nil), // 24: payload.v1.Search.Responses
- (*Search_StreamResponse)(nil), // 25: payload.v1.Search.StreamResponse
- (*Filter_Target)(nil), // 26: payload.v1.Filter.Target
- (*Filter_Config)(nil), // 27: payload.v1.Filter.Config
- (*Insert_Request)(nil), // 28: payload.v1.Insert.Request
- (*Insert_MultiRequest)(nil), // 29: payload.v1.Insert.MultiRequest
- (*Insert_ObjectRequest)(nil), // 30: payload.v1.Insert.ObjectRequest
- (*Insert_MultiObjectRequest)(nil), // 31: payload.v1.Insert.MultiObjectRequest
- (*Insert_Config)(nil), // 32: payload.v1.Insert.Config
- (*Update_Request)(nil), // 33: payload.v1.Update.Request
- (*Update_MultiRequest)(nil), // 34: payload.v1.Update.MultiRequest
- (*Update_ObjectRequest)(nil), // 35: payload.v1.Update.ObjectRequest
- (*Update_MultiObjectRequest)(nil), // 36: payload.v1.Update.MultiObjectRequest
- (*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
- (*Meta_Key)(nil), // 99: payload.v1.Meta.Key
- (*Meta_Value)(nil), // 100: payload.v1.Meta.Value
- (*Meta_KeyValue)(nil), // 101: payload.v1.Meta.KeyValue
- (*wrapperspb.FloatValue)(nil), // 102: google.protobuf.FloatValue
- (*status.Status)(nil), // 103: google.rpc.Status
- (*anypb.Any)(nil), // 104: google.protobuf.Any
-}
+var (
+ file_v1_payload_payload_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
+ file_v1_payload_payload_proto_msgTypes = make([]protoimpl.MessageInfo, 100)
+ 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
+ (*Search)(nil), // 2: payload.v1.Search
+ (*Filter)(nil), // 3: payload.v1.Filter
+ (*Insert)(nil), // 4: payload.v1.Insert
+ (*Update)(nil), // 5: payload.v1.Update
+ (*Upsert)(nil), // 6: payload.v1.Upsert
+ (*Remove)(nil), // 7: payload.v1.Remove
+ (*Flush)(nil), // 8: payload.v1.Flush
+ (*Object)(nil), // 9: payload.v1.Object
+ (*Control)(nil), // 10: payload.v1.Control
+ (*Discoverer)(nil), // 11: payload.v1.Discoverer
+ (*Info)(nil), // 12: payload.v1.Info
+ (*Mirror)(nil), // 13: payload.v1.Mirror
+ (*Meta)(nil), // 14: payload.v1.Meta
+ (*Empty)(nil), // 15: payload.v1.Empty
+ (*Search_Request)(nil), // 16: payload.v1.Search.Request
+ (*Search_MultiRequest)(nil), // 17: payload.v1.Search.MultiRequest
+ (*Search_IDRequest)(nil), // 18: payload.v1.Search.IDRequest
+ (*Search_MultiIDRequest)(nil), // 19: payload.v1.Search.MultiIDRequest
+ (*Search_ObjectRequest)(nil), // 20: payload.v1.Search.ObjectRequest
+ (*Search_MultiObjectRequest)(nil), // 21: payload.v1.Search.MultiObjectRequest
+ (*Search_Config)(nil), // 22: payload.v1.Search.Config
+ (*Search_Response)(nil), // 23: payload.v1.Search.Response
+ (*Search_Responses)(nil), // 24: payload.v1.Search.Responses
+ (*Search_StreamResponse)(nil), // 25: payload.v1.Search.StreamResponse
+ (*Filter_Target)(nil), // 26: payload.v1.Filter.Target
+ (*Filter_Config)(nil), // 27: payload.v1.Filter.Config
+ (*Insert_Request)(nil), // 28: payload.v1.Insert.Request
+ (*Insert_MultiRequest)(nil), // 29: payload.v1.Insert.MultiRequest
+ (*Insert_ObjectRequest)(nil), // 30: payload.v1.Insert.ObjectRequest
+ (*Insert_MultiObjectRequest)(nil), // 31: payload.v1.Insert.MultiObjectRequest
+ (*Insert_Config)(nil), // 32: payload.v1.Insert.Config
+ (*Update_Request)(nil), // 33: payload.v1.Update.Request
+ (*Update_MultiRequest)(nil), // 34: payload.v1.Update.MultiRequest
+ (*Update_ObjectRequest)(nil), // 35: payload.v1.Update.ObjectRequest
+ (*Update_MultiObjectRequest)(nil), // 36: payload.v1.Update.MultiObjectRequest
+ (*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
+ (*Meta_Key)(nil), // 99: payload.v1.Meta.Key
+ (*Meta_Value)(nil), // 100: payload.v1.Meta.Value
+ (*Meta_KeyValue)(nil), // 101: payload.v1.Meta.KeyValue
+ (*wrapperspb.FloatValue)(nil), // 102: google.protobuf.FloatValue
+ (*status.Status)(nil), // 103: google.rpc.Status
+ (*anypb.Any)(nil), // 104: google.protobuf.Any
+ }
+)
var file_v1_payload_payload_proto_depIdxs = []int32{
22, // 0: payload.v1.Search.Request.config:type_name -> payload.v1.Search.Config
16, // 1: payload.v1.Search.MultiRequest.requests:type_name -> payload.v1.Search.Request
diff --git a/apis/grpc/v1/payload/payload.pb.json.go b/apis/grpc/v1/payload/payload.pb.json.go
index 53eea627826..9d8ade0437a 100644
--- a/apis/grpc/v1/payload/payload.pb.json.go
+++ b/apis/grpc/v1/payload/payload.pb.json.go
@@ -19,9 +19,7 @@
package payload
-import (
- "google.golang.org/protobuf/encoding/protojson"
-)
+import "google.golang.org/protobuf/encoding/protojson"
// MarshalJSON implements json.Marshaler
func (msg *Search) MarshalJSON() ([]byte, error) {
diff --git a/apis/grpc/v1/payload/payload_vtproto.pb.go b/apis/grpc/v1/payload/payload_vtproto.pb.go
index 4e53dccaf86..b4ecee725af 100644
--- a/apis/grpc/v1/payload/payload_vtproto.pb.go
+++ b/apis/grpc/v1/payload/payload_vtproto.pb.go
@@ -1,22 +1,35 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/payload/payload.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package payload
import (
binary "encoding/binary"
fmt "fmt"
+ math "math"
+
protohelpers "github.com/planetscale/vtprotobuf/protohelpers"
anypb1 "github.com/planetscale/vtprotobuf/types/known/anypb"
wrapperspb1 "github.com/planetscale/vtprotobuf/types/known/wrapperspb"
+ io "github.com/vdaas/vald/internal/io"
status "google.golang.org/genproto/googleapis/rpc/status"
proto "google.golang.org/protobuf/proto"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
anypb "google.golang.org/protobuf/types/known/anypb"
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
- io "github.com/vdaas/vald/internal/io"
- math "math"
)
const (
@@ -2166,6 +2179,7 @@ func (this *Search_Request) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Search_MultiRequest) EqualVT(that *Search_MultiRequest) bool {
if this == that {
return true
@@ -2199,6 +2213,7 @@ func (this *Search_MultiRequest) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Search_IDRequest) EqualVT(that *Search_IDRequest) bool {
if this == that {
return true
@@ -2221,6 +2236,7 @@ func (this *Search_IDRequest) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Search_MultiIDRequest) EqualVT(that *Search_MultiIDRequest) bool {
if this == that {
return true
@@ -2254,6 +2270,7 @@ func (this *Search_MultiIDRequest) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Search_ObjectRequest) EqualVT(that *Search_ObjectRequest) bool {
if this == that {
return true
@@ -2279,6 +2296,7 @@ func (this *Search_ObjectRequest) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Search_MultiObjectRequest) EqualVT(that *Search_MultiObjectRequest) bool {
if this == that {
return true
@@ -2312,6 +2330,7 @@ func (this *Search_MultiObjectRequest) EqualMessageVT(thatMsg proto.Message) boo
}
return this.EqualVT(that)
}
+
func (this *Search_Config) EqualVT(that *Search_Config) bool {
if this == that {
return true
@@ -2361,6 +2380,7 @@ func (this *Search_Config) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Search_Response) EqualVT(that *Search_Response) bool {
if this == that {
return true
@@ -2397,6 +2417,7 @@ func (this *Search_Response) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Search_Responses) EqualVT(that *Search_Responses) bool {
if this == that {
return true
@@ -2430,6 +2451,7 @@ func (this *Search_Responses) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Search_StreamResponse) EqualVT(that *Search_StreamResponse) bool {
if this == that {
return true
@@ -2458,7 +2480,10 @@ func (this *Search_StreamResponse) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
-func (this *Search_StreamResponse_Response) EqualVT(thatIface isSearch_StreamResponse_Payload) bool {
+
+func (this *Search_StreamResponse_Response) EqualVT(
+ thatIface isSearch_StreamResponse_Payload,
+) bool {
that, ok := thatIface.(*Search_StreamResponse_Response)
if !ok {
return false
@@ -2528,6 +2553,7 @@ func (this *Search) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Filter_Target) EqualVT(that *Filter_Target) bool {
if this == that {
return true
@@ -2550,6 +2576,7 @@ func (this *Filter_Target) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Filter_Config) EqualVT(that *Filter_Config) bool {
if this == that {
return true
@@ -2583,6 +2610,7 @@ func (this *Filter_Config) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Filter) EqualVT(that *Filter) bool {
if this == that {
return true
@@ -2599,6 +2627,7 @@ func (this *Filter) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Insert_Request) EqualVT(that *Insert_Request) bool {
if this == that {
return true
@@ -2621,6 +2650,7 @@ func (this *Insert_Request) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Insert_MultiRequest) EqualVT(that *Insert_MultiRequest) bool {
if this == that {
return true
@@ -2654,6 +2684,7 @@ func (this *Insert_MultiRequest) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Insert_ObjectRequest) EqualVT(that *Insert_ObjectRequest) bool {
if this == that {
return true
@@ -2679,6 +2710,7 @@ func (this *Insert_ObjectRequest) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Insert_MultiObjectRequest) EqualVT(that *Insert_MultiObjectRequest) bool {
if this == that {
return true
@@ -2712,6 +2744,7 @@ func (this *Insert_MultiObjectRequest) EqualMessageVT(thatMsg proto.Message) boo
}
return this.EqualVT(that)
}
+
func (this *Insert_Config) EqualVT(that *Insert_Config) bool {
if this == that {
return true
@@ -2737,6 +2770,7 @@ func (this *Insert_Config) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Insert) EqualVT(that *Insert) bool {
if this == that {
return true
@@ -2753,6 +2787,7 @@ func (this *Insert) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Update_Request) EqualVT(that *Update_Request) bool {
if this == that {
return true
@@ -2775,6 +2810,7 @@ func (this *Update_Request) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Update_MultiRequest) EqualVT(that *Update_MultiRequest) bool {
if this == that {
return true
@@ -2808,6 +2844,7 @@ func (this *Update_MultiRequest) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Update_ObjectRequest) EqualVT(that *Update_ObjectRequest) bool {
if this == that {
return true
@@ -2833,6 +2870,7 @@ func (this *Update_ObjectRequest) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Update_MultiObjectRequest) EqualVT(that *Update_MultiObjectRequest) bool {
if this == that {
return true
@@ -2866,6 +2904,7 @@ func (this *Update_MultiObjectRequest) EqualMessageVT(thatMsg proto.Message) boo
}
return this.EqualVT(that)
}
+
func (this *Update_Config) EqualVT(that *Update_Config) bool {
if this == that {
return true
@@ -2894,6 +2933,7 @@ func (this *Update_Config) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Update) EqualVT(that *Update) bool {
if this == that {
return true
@@ -2910,6 +2950,7 @@ func (this *Update) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Upsert_Request) EqualVT(that *Upsert_Request) bool {
if this == that {
return true
@@ -2932,6 +2973,7 @@ func (this *Upsert_Request) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Upsert_MultiRequest) EqualVT(that *Upsert_MultiRequest) bool {
if this == that {
return true
@@ -2965,6 +3007,7 @@ func (this *Upsert_MultiRequest) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Upsert_ObjectRequest) EqualVT(that *Upsert_ObjectRequest) bool {
if this == that {
return true
@@ -2990,6 +3033,7 @@ func (this *Upsert_ObjectRequest) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Upsert_MultiObjectRequest) EqualVT(that *Upsert_MultiObjectRequest) bool {
if this == that {
return true
@@ -3023,6 +3067,7 @@ func (this *Upsert_MultiObjectRequest) EqualMessageVT(thatMsg proto.Message) boo
}
return this.EqualVT(that)
}
+
func (this *Upsert_Config) EqualVT(that *Upsert_Config) bool {
if this == that {
return true
@@ -3051,6 +3096,7 @@ func (this *Upsert_Config) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Upsert) EqualVT(that *Upsert) bool {
if this == that {
return true
@@ -3067,6 +3113,7 @@ func (this *Upsert) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Remove_Request) EqualVT(that *Remove_Request) bool {
if this == that {
return true
@@ -3089,6 +3136,7 @@ func (this *Remove_Request) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Remove_MultiRequest) EqualVT(that *Remove_MultiRequest) bool {
if this == that {
return true
@@ -3122,6 +3170,7 @@ func (this *Remove_MultiRequest) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Remove_TimestampRequest) EqualVT(that *Remove_TimestampRequest) bool {
if this == that {
return true
@@ -3155,6 +3204,7 @@ func (this *Remove_TimestampRequest) EqualMessageVT(thatMsg proto.Message) bool
}
return this.EqualVT(that)
}
+
func (this *Remove_Timestamp) EqualVT(that *Remove_Timestamp) bool {
if this == that {
return true
@@ -3177,6 +3227,7 @@ func (this *Remove_Timestamp) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Remove_Config) EqualVT(that *Remove_Config) bool {
if this == that {
return true
@@ -3199,6 +3250,7 @@ func (this *Remove_Config) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Remove) EqualVT(that *Remove) bool {
if this == that {
return true
@@ -3215,6 +3267,7 @@ func (this *Remove) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Flush_Request) EqualVT(that *Flush_Request) bool {
if this == that {
return true
@@ -3231,6 +3284,7 @@ func (this *Flush_Request) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Flush) EqualVT(that *Flush) bool {
if this == that {
return true
@@ -3247,6 +3301,7 @@ func (this *Flush) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_VectorRequest) EqualVT(that *Object_VectorRequest) bool {
if this == that {
return true
@@ -3269,6 +3324,7 @@ func (this *Object_VectorRequest) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_Distance) EqualVT(that *Object_Distance) bool {
if this == that {
return true
@@ -3291,6 +3347,7 @@ func (this *Object_Distance) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_StreamDistance) EqualVT(that *Object_StreamDistance) bool {
if this == that {
return true
@@ -3319,7 +3376,10 @@ func (this *Object_StreamDistance) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
-func (this *Object_StreamDistance_Distance) EqualVT(thatIface isObject_StreamDistance_Payload) bool {
+
+func (this *Object_StreamDistance_Distance) EqualVT(
+ thatIface isObject_StreamDistance_Payload,
+) bool {
that, ok := thatIface.(*Object_StreamDistance_Distance)
if !ok {
return false
@@ -3392,6 +3452,7 @@ func (this *Object_ID) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_IDs) EqualVT(that *Object_IDs) bool {
if this == that {
return true
@@ -3417,6 +3478,7 @@ func (this *Object_IDs) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_Vector) EqualVT(that *Object_Vector) bool {
if this == that {
return true
@@ -3448,6 +3510,7 @@ func (this *Object_Vector) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_TimestampRequest) EqualVT(that *Object_TimestampRequest) bool {
if this == that {
return true
@@ -3467,6 +3530,7 @@ func (this *Object_TimestampRequest) EqualMessageVT(thatMsg proto.Message) bool
}
return this.EqualVT(that)
}
+
func (this *Object_Timestamp) EqualVT(that *Object_Timestamp) bool {
if this == that {
return true
@@ -3489,6 +3553,7 @@ func (this *Object_Timestamp) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_Vectors) EqualVT(that *Object_Vectors) bool {
if this == that {
return true
@@ -3522,6 +3587,7 @@ func (this *Object_Vectors) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_StreamVector) EqualVT(that *Object_StreamVector) bool {
if this == that {
return true
@@ -3550,6 +3616,7 @@ func (this *Object_StreamVector) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_StreamVector_Vector) EqualVT(thatIface isObject_StreamVector_Payload) bool {
that, ok := thatIface.(*Object_StreamVector_Vector)
if !ok {
@@ -3632,6 +3699,7 @@ func (this *Object_ReshapeVector) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_Blob) EqualVT(that *Object_Blob) bool {
if this == that {
return true
@@ -3654,6 +3722,7 @@ func (this *Object_Blob) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_StreamBlob) EqualVT(that *Object_StreamBlob) bool {
if this == that {
return true
@@ -3682,6 +3751,7 @@ func (this *Object_StreamBlob) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_StreamBlob_Blob) EqualVT(thatIface isObject_StreamBlob_Payload) bool {
that, ok := thatIface.(*Object_StreamBlob_Blob)
if !ok {
@@ -3767,6 +3837,7 @@ func (this *Object_Location) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_StreamLocation) EqualVT(that *Object_StreamLocation) bool {
if this == that {
return true
@@ -3795,7 +3866,10 @@ func (this *Object_StreamLocation) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
-func (this *Object_StreamLocation_Location) EqualVT(thatIface isObject_StreamLocation_Payload) bool {
+
+func (this *Object_StreamLocation_Location) EqualVT(
+ thatIface isObject_StreamLocation_Payload,
+) bool {
that, ok := thatIface.(*Object_StreamLocation_Location)
if !ok {
return false
@@ -3882,6 +3956,7 @@ func (this *Object_Locations) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_List_Request) EqualVT(that *Object_List_Request) bool {
if this == that {
return true
@@ -3898,6 +3973,7 @@ func (this *Object_List_Request) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_List_Response) EqualVT(that *Object_List_Response) bool {
if this == that {
return true
@@ -3926,6 +4002,7 @@ func (this *Object_List_Response) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object_List_Response_Vector) EqualVT(thatIface isObject_List_Response_Payload) bool {
that, ok := thatIface.(*Object_List_Response_Vector)
if !ok {
@@ -3996,6 +4073,7 @@ func (this *Object_List) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Object) EqualVT(that *Object) bool {
if this == that {
return true
@@ -4012,6 +4090,7 @@ func (this *Object) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Control_CreateIndexRequest) EqualVT(that *Control_CreateIndexRequest) bool {
if this == that {
return true
@@ -4031,6 +4110,7 @@ func (this *Control_CreateIndexRequest) EqualMessageVT(thatMsg proto.Message) bo
}
return this.EqualVT(that)
}
+
func (this *Control) EqualVT(that *Control) bool {
if this == that {
return true
@@ -4047,6 +4127,7 @@ func (this *Control) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Discoverer_Request) EqualVT(that *Discoverer_Request) bool {
if this == that {
return true
@@ -4072,6 +4153,7 @@ func (this *Discoverer_Request) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Discoverer) EqualVT(that *Discoverer) bool {
if this == that {
return true
@@ -4088,6 +4170,7 @@ func (this *Discoverer) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_Index_Count) EqualVT(that *Info_Index_Count) bool {
if this == that {
return true
@@ -4116,6 +4199,7 @@ func (this *Info_Index_Count) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_Index_Detail) EqualVT(that *Info_Index_Detail) bool {
if this == that {
return true
@@ -4158,6 +4242,7 @@ func (this *Info_Index_Detail) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_Index_UUID_Committed) EqualVT(that *Info_Index_UUID_Committed) bool {
if this == that {
return true
@@ -4177,6 +4262,7 @@ func (this *Info_Index_UUID_Committed) EqualMessageVT(thatMsg proto.Message) boo
}
return this.EqualVT(that)
}
+
func (this *Info_Index_UUID_Uncommitted) EqualVT(that *Info_Index_UUID_Uncommitted) bool {
if this == that {
return true
@@ -4196,6 +4282,7 @@ func (this *Info_Index_UUID_Uncommitted) EqualMessageVT(thatMsg proto.Message) b
}
return this.EqualVT(that)
}
+
func (this *Info_Index_UUID) EqualVT(that *Info_Index_UUID) bool {
if this == that {
return true
@@ -4212,6 +4299,7 @@ func (this *Info_Index_UUID) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_Index_Statistics) EqualVT(that *Info_Index_Statistics) bool {
if this == that {
return true
@@ -4345,6 +4433,7 @@ func (this *Info_Index_Statistics) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_Index_StatisticsDetail) EqualVT(that *Info_Index_StatisticsDetail) bool {
if this == that {
return true
@@ -4381,6 +4470,7 @@ func (this *Info_Index_StatisticsDetail) EqualMessageVT(thatMsg proto.Message) b
}
return this.EqualVT(that)
}
+
func (this *Info_Index_Property) EqualVT(that *Info_Index_Property) bool {
if this == that {
return true
@@ -4499,6 +4589,7 @@ func (this *Info_Index_Property) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_Index_PropertyDetail) EqualVT(that *Info_Index_PropertyDetail) bool {
if this == that {
return true
@@ -4535,6 +4626,7 @@ func (this *Info_Index_PropertyDetail) EqualMessageVT(thatMsg proto.Message) boo
}
return this.EqualVT(that)
}
+
func (this *Info_Index) EqualVT(that *Info_Index) bool {
if this == that {
return true
@@ -4551,6 +4643,7 @@ func (this *Info_Index) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_Pod) EqualVT(that *Info_Pod) bool {
if this == that {
return true
@@ -4588,6 +4681,7 @@ func (this *Info_Pod) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_Node) EqualVT(that *Info_Node) bool {
if this == that {
return true
@@ -4622,6 +4716,7 @@ func (this *Info_Node) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_Service) EqualVT(that *Info_Service) bool {
if this == that {
return true
@@ -4676,6 +4771,7 @@ func (this *Info_Service) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_ServicePort) EqualVT(that *Info_ServicePort) bool {
if this == that {
return true
@@ -4698,6 +4794,7 @@ func (this *Info_ServicePort) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_Labels) EqualVT(that *Info_Labels) bool {
if this == that {
return true
@@ -4726,6 +4823,7 @@ func (this *Info_Labels) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_Annotations) EqualVT(that *Info_Annotations) bool {
if this == that {
return true
@@ -4754,6 +4852,7 @@ func (this *Info_Annotations) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_CPU) EqualVT(that *Info_CPU) bool {
if this == that {
return true
@@ -4779,6 +4878,7 @@ func (this *Info_CPU) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_Memory) EqualVT(that *Info_Memory) bool {
if this == that {
return true
@@ -4804,6 +4904,7 @@ func (this *Info_Memory) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_Pods) EqualVT(that *Info_Pods) bool {
if this == that {
return true
@@ -4837,6 +4938,7 @@ func (this *Info_Pods) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_Nodes) EqualVT(that *Info_Nodes) bool {
if this == that {
return true
@@ -4870,6 +4972,7 @@ func (this *Info_Nodes) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_Services) EqualVT(that *Info_Services) bool {
if this == that {
return true
@@ -4903,6 +5006,7 @@ func (this *Info_Services) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info_IPs) EqualVT(that *Info_IPs) bool {
if this == that {
return true
@@ -4928,6 +5032,7 @@ func (this *Info_IPs) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Info) EqualVT(that *Info) bool {
if this == that {
return true
@@ -4944,6 +5049,7 @@ func (this *Info) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Mirror_Target) EqualVT(that *Mirror_Target) bool {
if this == that {
return true
@@ -4966,6 +5072,7 @@ func (this *Mirror_Target) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Mirror_Targets) EqualVT(that *Mirror_Targets) bool {
if this == that {
return true
@@ -4999,6 +5106,7 @@ func (this *Mirror_Targets) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Mirror) EqualVT(that *Mirror) bool {
if this == that {
return true
@@ -5015,6 +5123,7 @@ func (this *Mirror) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Meta_Key) EqualVT(that *Meta_Key) bool {
if this == that {
return true
@@ -5034,6 +5143,7 @@ func (this *Meta_Key) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Meta_Value) EqualVT(that *Meta_Value) bool {
if this == that {
return true
@@ -5053,6 +5163,7 @@ func (this *Meta_Value) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Meta_KeyValue) EqualVT(that *Meta_KeyValue) bool {
if this == that {
return true
@@ -5075,6 +5186,7 @@ func (this *Meta_KeyValue) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Meta) EqualVT(that *Meta) bool {
if this == that {
return true
@@ -5091,6 +5203,7 @@ func (this *Meta) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Empty) EqualVT(that *Empty) bool {
if this == that {
return true
@@ -5107,6 +5220,7 @@ func (this *Empty) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (m *Search_Request) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
@@ -5670,6 +5784,7 @@ func (m *Search_StreamResponse_Response) MarshalToSizedBufferVT(dAtA []byte) (in
}
return len(dAtA) - i, nil
}
+
func (m *Search_StreamResponse_Status) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
@@ -5701,6 +5816,7 @@ func (m *Search_StreamResponse_Status) MarshalToSizedBufferVT(dAtA []byte) (int,
}
return len(dAtA) - i, nil
}
+
func (m *Search) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
@@ -7261,6 +7377,7 @@ func (m *Object_StreamDistance_Distance) MarshalToSizedBufferVT(dAtA []byte) (in
}
return len(dAtA) - i, nil
}
+
func (m *Object_StreamDistance_Status) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
@@ -7292,6 +7409,7 @@ func (m *Object_StreamDistance_Status) MarshalToSizedBufferVT(dAtA []byte) (int,
}
return len(dAtA) - i, nil
}
+
func (m *Object_ID) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
@@ -7623,6 +7741,7 @@ 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) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
@@ -7654,6 +7773,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) {
if m == nil {
return nil, nil
@@ -7823,6 +7943,7 @@ 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) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
@@ -7854,6 +7975,7 @@ func (m *Object_StreamBlob_Status) MarshalToSizedBufferVT(dAtA []byte) (int, err
}
return len(dAtA) - i, nil
}
+
func (m *Object_Location) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
@@ -7971,6 +8093,7 @@ func (m *Object_StreamLocation_Location) MarshalToSizedBufferVT(dAtA []byte) (in
}
return len(dAtA) - i, nil
}
+
func (m *Object_StreamLocation_Status) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
@@ -8002,6 +8125,7 @@ func (m *Object_StreamLocation_Status) MarshalToSizedBufferVT(dAtA []byte) (int,
}
return len(dAtA) - i, nil
}
+
func (m *Object_Locations) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
@@ -8141,6 +8265,7 @@ 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) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
@@ -8172,6 +8297,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) {
if m == nil {
return nil, nil
@@ -10602,6 +10728,7 @@ func (m *Search_StreamResponse_Response) SizeVT() (n int) {
}
return n
}
+
func (m *Search_StreamResponse_Status) SizeVT() (n int) {
if m == nil {
return 0
@@ -10620,6 +10747,7 @@ func (m *Search_StreamResponse_Status) SizeVT() (n int) {
}
return n
}
+
func (m *Search) SizeVT() (n int) {
if m == nil {
return 0
@@ -11157,6 +11285,7 @@ func (m *Object_StreamDistance_Distance) SizeVT() (n int) {
}
return n
}
+
func (m *Object_StreamDistance_Status) SizeVT() (n int) {
if m == nil {
return 0
@@ -11175,6 +11304,7 @@ func (m *Object_StreamDistance_Status) SizeVT() (n int) {
}
return n
}
+
func (m *Object_ID) SizeVT() (n int) {
if m == nil {
return 0
@@ -11297,6 +11427,7 @@ func (m *Object_StreamVector_Vector) SizeVT() (n int) {
}
return n
}
+
func (m *Object_StreamVector_Status) SizeVT() (n int) {
if m == nil {
return 0
@@ -11315,6 +11446,7 @@ func (m *Object_StreamVector_Status) SizeVT() (n int) {
}
return n
}
+
func (m *Object_ReshapeVector) SizeVT() (n int) {
if m == nil {
return 0
@@ -11379,6 +11511,7 @@ func (m *Object_StreamBlob_Blob) SizeVT() (n int) {
}
return n
}
+
func (m *Object_StreamBlob_Status) SizeVT() (n int) {
if m == nil {
return 0
@@ -11397,6 +11530,7 @@ func (m *Object_StreamBlob_Status) SizeVT() (n int) {
}
return n
}
+
func (m *Object_Location) SizeVT() (n int) {
if m == nil {
return 0
@@ -11446,6 +11580,7 @@ func (m *Object_StreamLocation_Location) SizeVT() (n int) {
}
return n
}
+
func (m *Object_StreamLocation_Status) SizeVT() (n int) {
if m == nil {
return 0
@@ -11464,6 +11599,7 @@ func (m *Object_StreamLocation_Status) SizeVT() (n int) {
}
return n
}
+
func (m *Object_Locations) SizeVT() (n int) {
if m == nil {
return 0
@@ -11515,6 +11651,7 @@ func (m *Object_List_Response_Vector) SizeVT() (n int) {
}
return n
}
+
func (m *Object_List_Response_Status) SizeVT() (n int) {
if m == nil {
return 0
@@ -11533,6 +11670,7 @@ func (m *Object_List_Response_Status) SizeVT() (n int) {
}
return n
}
+
func (m *Object_List) SizeVT() (n int) {
if m == nil {
return 0
@@ -12521,6 +12659,7 @@ func (m *Search_Request) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Search_MultiRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -12606,6 +12745,7 @@ func (m *Search_MultiRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Search_IDRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -12725,6 +12865,7 @@ func (m *Search_IDRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Search_MultiIDRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -12810,6 +12951,7 @@ func (m *Search_MultiIDRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Search_ObjectRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -12967,6 +13109,7 @@ func (m *Search_ObjectRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Search_MultiObjectRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -13052,6 +13195,7 @@ func (m *Search_MultiObjectRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Search_Config) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -13360,6 +13504,7 @@ func (m *Search_Config) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Search_Response) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -13477,6 +13622,7 @@ func (m *Search_Response) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Search_Responses) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -13562,6 +13708,7 @@ func (m *Search_Responses) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Search_StreamResponse) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -13711,6 +13858,7 @@ func (m *Search_StreamResponse) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Search) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -13762,6 +13910,7 @@ func (m *Search) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Filter_Target) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -13864,6 +14013,7 @@ func (m *Filter_Target) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Filter_Config) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -13949,6 +14099,7 @@ func (m *Filter_Config) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Filter) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -14000,6 +14151,7 @@ func (m *Filter) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Insert_Request) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -14123,6 +14275,7 @@ func (m *Insert_Request) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Insert_MultiRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -14208,6 +14361,7 @@ func (m *Insert_MultiRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Insert_ObjectRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -14367,6 +14521,7 @@ func (m *Insert_ObjectRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Insert_MultiObjectRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -14452,6 +14607,7 @@ func (m *Insert_MultiObjectRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Insert_Config) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -14578,6 +14734,7 @@ func (m *Insert_Config) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Insert) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -14629,6 +14786,7 @@ func (m *Insert) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Update_Request) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -14752,6 +14910,7 @@ func (m *Update_Request) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Update_MultiRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -14837,6 +14996,7 @@ func (m *Update_MultiRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Update_ObjectRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -14996,6 +15156,7 @@ func (m *Update_ObjectRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Update_MultiObjectRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -15081,6 +15242,7 @@ func (m *Update_MultiObjectRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Update_Config) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -15227,6 +15389,7 @@ func (m *Update_Config) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Update) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -15278,6 +15441,7 @@ func (m *Update) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Upsert_Request) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -15401,6 +15565,7 @@ func (m *Upsert_Request) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Upsert_MultiRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -15486,6 +15651,7 @@ func (m *Upsert_MultiRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Upsert_ObjectRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -15645,6 +15811,7 @@ func (m *Upsert_ObjectRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Upsert_MultiObjectRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -15730,6 +15897,7 @@ func (m *Upsert_MultiObjectRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Upsert_Config) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -15876,6 +16044,7 @@ func (m *Upsert_Config) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Upsert) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -15927,6 +16096,7 @@ func (m *Upsert) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Remove_Request) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -16050,6 +16220,7 @@ func (m *Remove_Request) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Remove_MultiRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -16135,6 +16306,7 @@ func (m *Remove_MultiRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Remove_TimestampRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -16220,6 +16392,7 @@ func (m *Remove_TimestampRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Remove_Timestamp) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -16309,6 +16482,7 @@ func (m *Remove_Timestamp) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Remove_Config) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -16399,6 +16573,7 @@ func (m *Remove_Config) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Remove) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -16450,6 +16625,7 @@ func (m *Remove) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Flush_Request) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -16501,6 +16677,7 @@ func (m *Flush_Request) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Flush) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -16552,6 +16729,7 @@ func (m *Flush) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_VectorRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -16675,6 +16853,7 @@ func (m *Object_VectorRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_Distance) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -16769,6 +16948,7 @@ func (m *Object_Distance) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_StreamDistance) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -16918,6 +17098,7 @@ func (m *Object_StreamDistance) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_ID) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -17001,6 +17182,7 @@ func (m *Object_ID) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_IDs) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -17084,6 +17266,7 @@ func (m *Object_IDs) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_Vector) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -17240,6 +17423,7 @@ func (m *Object_Vector) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_TimestampRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -17327,6 +17511,7 @@ func (m *Object_TimestampRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_Timestamp) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -17429,6 +17614,7 @@ func (m *Object_Timestamp) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_Vectors) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -17514,6 +17700,7 @@ func (m *Object_Vectors) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_StreamVector) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -17663,6 +17850,7 @@ func (m *Object_StreamVector) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_ReshapeVector) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -17824,6 +18012,7 @@ func (m *Object_ReshapeVector) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_Blob) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -17941,6 +18130,7 @@ func (m *Object_Blob) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_StreamBlob) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -18090,6 +18280,7 @@ func (m *Object_StreamBlob) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_Location) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -18237,6 +18428,7 @@ func (m *Object_Location) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_StreamLocation) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -18386,6 +18578,7 @@ func (m *Object_StreamLocation) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_Locations) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -18471,6 +18664,7 @@ func (m *Object_Locations) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_List_Request) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -18522,6 +18716,7 @@ func (m *Object_List_Request) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_List_Response) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -18671,6 +18866,7 @@ func (m *Object_List_Response) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object_List) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -18722,6 +18918,7 @@ func (m *Object_List) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Object) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -18773,6 +18970,7 @@ func (m *Object) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Control_CreateIndexRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -18843,6 +19041,7 @@ func (m *Control_CreateIndexRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Control) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -18894,6 +19093,7 @@ func (m *Control) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Discoverer_Request) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -19041,6 +19241,7 @@ func (m *Discoverer_Request) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Discoverer) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -19092,6 +19293,7 @@ func (m *Discoverer) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Index_Count) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -19221,6 +19423,7 @@ func (m *Info_Index_Count) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Index_Detail) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -19439,6 +19642,7 @@ func (m *Info_Index_Detail) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Index_UUID_Committed) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -19522,6 +19726,7 @@ func (m *Info_Index_UUID_Committed) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Index_UUID_Uncommitted) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -19605,6 +19810,7 @@ func (m *Info_Index_UUID_Uncommitted) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Index_UUID) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -19656,6 +19862,7 @@ func (m *Info_Index_UUID) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Index_Statistics) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -20426,6 +20633,7 @@ func (m *Info_Index_Statistics) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Index_StatisticsDetail) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -20606,6 +20814,7 @@ func (m *Info_Index_StatisticsDetail) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Index_Property) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -21401,6 +21610,7 @@ func (m *Info_Index_Property) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Index_PropertyDetail) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -21581,6 +21791,7 @@ func (m *Info_Index_PropertyDetail) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Index) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -21632,6 +21843,7 @@ func (m *Info_Index) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Pod) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -21919,6 +22131,7 @@ func (m *Info_Pod) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Node) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -22174,6 +22387,7 @@ func (m *Info_Node) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Service) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -22427,6 +22641,7 @@ func (m *Info_Service) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_ServicePort) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -22529,6 +22744,7 @@ func (m *Info_ServicePort) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Labels) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -22707,6 +22923,7 @@ func (m *Info_Labels) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Annotations) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -22885,6 +23102,7 @@ func (m *Info_Annotations) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_CPU) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -22969,6 +23187,7 @@ func (m *Info_CPU) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Memory) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -23053,6 +23272,7 @@ func (m *Info_Memory) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Pods) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -23138,6 +23358,7 @@ func (m *Info_Pods) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Nodes) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -23223,6 +23444,7 @@ func (m *Info_Nodes) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_Services) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -23308,6 +23530,7 @@ func (m *Info_Services) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info_IPs) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -23391,6 +23614,7 @@ func (m *Info_IPs) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Info) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -23442,6 +23666,7 @@ func (m *Info) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Mirror_Target) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -23544,6 +23769,7 @@ func (m *Mirror_Target) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Mirror_Targets) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -23629,6 +23855,7 @@ func (m *Mirror_Targets) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Mirror) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -23680,6 +23907,7 @@ func (m *Mirror) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Meta_Key) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -23763,6 +23991,7 @@ func (m *Meta_Key) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Meta_Value) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -23850,6 +24079,7 @@ func (m *Meta_Value) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Meta_KeyValue) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -23973,6 +24203,7 @@ func (m *Meta_KeyValue) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Meta) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -24024,6 +24255,7 @@ func (m *Meta) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Empty) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
diff --git a/apis/grpc/v1/rpc/errdetails/error_details.pb.go b/apis/grpc/v1/rpc/errdetails/error_details.pb.go
index 01604594969..1ca92f95549 100644
--- a/apis/grpc/v1/rpc/errdetails/error_details.pb.go
+++ b/apis/grpc/v1/rpc/errdetails/error_details.pb.go
@@ -24,11 +24,12 @@
package errdetails
import (
+ reflect "reflect"
+
+ sync "github.com/vdaas/vald/internal/sync"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
durationpb "google.golang.org/protobuf/types/known/durationpb"
- reflect "reflect"
- sync "github.com/vdaas/vald/internal/sync"
)
const (
@@ -72,14 +73,14 @@ type ErrorInfo struct {
// domain of errors. This should be at most 63 characters and match a
// regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents
// UPPER_SNAKE_CASE.
- Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
+ Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
// The logical grouping to which the "reason" belongs. The error domain
// is typically the registered service name of the tool or product that
// generates the error. Example: "pubsub.googleapis.com". If the error is
// generated by some common infrastructure, the error domain must be a
// globally unique value that identifies the infrastructure. For Google API
// infrastructure, the error domain is "googleapis.com".
- Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
+ Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
// Additional structured details about this error.
//
// Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
@@ -214,7 +215,7 @@ type DebugInfo struct {
// The stack trace entries indicating where the error occurred.
StackEntries []string `protobuf:"bytes,1,rep,name=stack_entries,json=stackEntries,proto3" json:"stack_entries,omitempty"`
// Additional debugging information provided by the server.
- Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
+ Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
}
func (x *DebugInfo) Reset() {
@@ -434,7 +435,7 @@ type RequestInfo struct {
// An opaque string that should only be interpreted by the service generating
// it. For example, it can be used to identify requests in the service's logs.
- RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
+ RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Any data that was used to serve this request. For example, an encrypted
// stack trace that can be sent back to the service provider for debugging.
ServingData string `protobuf:"bytes,2,opt,name=serving_data,json=servingData,proto3" json:"serving_data,omitempty"`
@@ -504,11 +505,11 @@ type ResourceInfo struct {
// The owner of the resource (optional).
// For example, "user:" or "project:".
- Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
+ Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
// Describes what error is encountered when accessing this resource.
// For example, updating a cloud project may require the `writer` permission
// on the developer console project.
- Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
+ Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
}
func (x *ResourceInfo) Reset() {
@@ -634,7 +635,7 @@ type LocalizedMessage struct {
// The locale used following the specification defined at
// https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
// Examples are: "en-US", "fr-CH", "es-MX"
- Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"`
+ Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"`
// The localized error message in the above locale.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}
@@ -695,7 +696,7 @@ type QuotaFailure_Violation struct {
// The subject on which the quota check failed.
// For example, "clientip:" or "project:".
- Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
+ Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
// A description of how the quota check failed. Clients can use this
// description to find more about the quota configuration in the service's
// public documentation, or find the relevant quota limit to adjust through
@@ -761,11 +762,11 @@ type PreconditionFailure_Violation struct {
// The type of PreconditionFailure. We recommend using a service-specific
// enum type to define the supported precondition violation subjects. For
// example, "TOS" for "Terms of Service violation".
- Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
+ Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// The subject, relative to the type, that failed.
// For example, "google.com/cloud" relative to the "TOS" type would indicate
// which terms of service is being referenced.
- Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
+ Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
// A description of how the precondition failed. Developers can use this
// description to understand how to fix the failure.
//
@@ -869,7 +870,7 @@ type BadRequest_FieldViolation struct {
// first `emailAddresses` message
// - `emailAddresses[3].type[2]` for a violation in the second `type`
// value in the third `emailAddresses` message.
- Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
+ Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
// A description of why the request element is bad.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}
@@ -929,7 +930,7 @@ type Help_Link struct {
// Describes what the link offers.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// The URL of the link.
- Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
+ Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
}
func (x *Help_Link) Reset() {
@@ -1086,25 +1087,27 @@ func file_v1_rpc_errdetails_error_details_proto_rawDescGZIP() []byte {
return file_v1_rpc_errdetails_error_details_proto_rawDescData
}
-var file_v1_rpc_errdetails_error_details_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
-var file_v1_rpc_errdetails_error_details_proto_goTypes = []any{
- (*ErrorInfo)(nil), // 0: rpc.v1.ErrorInfo
- (*RetryInfo)(nil), // 1: rpc.v1.RetryInfo
- (*DebugInfo)(nil), // 2: rpc.v1.DebugInfo
- (*QuotaFailure)(nil), // 3: rpc.v1.QuotaFailure
- (*PreconditionFailure)(nil), // 4: rpc.v1.PreconditionFailure
- (*BadRequest)(nil), // 5: rpc.v1.BadRequest
- (*RequestInfo)(nil), // 6: rpc.v1.RequestInfo
- (*ResourceInfo)(nil), // 7: rpc.v1.ResourceInfo
- (*Help)(nil), // 8: rpc.v1.Help
- (*LocalizedMessage)(nil), // 9: rpc.v1.LocalizedMessage
- nil, // 10: rpc.v1.ErrorInfo.MetadataEntry
- (*QuotaFailure_Violation)(nil), // 11: rpc.v1.QuotaFailure.Violation
- (*PreconditionFailure_Violation)(nil), // 12: rpc.v1.PreconditionFailure.Violation
- (*BadRequest_FieldViolation)(nil), // 13: rpc.v1.BadRequest.FieldViolation
- (*Help_Link)(nil), // 14: rpc.v1.Help.Link
- (*durationpb.Duration)(nil), // 15: google.protobuf.Duration
-}
+var (
+ file_v1_rpc_errdetails_error_details_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
+ file_v1_rpc_errdetails_error_details_proto_goTypes = []any{
+ (*ErrorInfo)(nil), // 0: rpc.v1.ErrorInfo
+ (*RetryInfo)(nil), // 1: rpc.v1.RetryInfo
+ (*DebugInfo)(nil), // 2: rpc.v1.DebugInfo
+ (*QuotaFailure)(nil), // 3: rpc.v1.QuotaFailure
+ (*PreconditionFailure)(nil), // 4: rpc.v1.PreconditionFailure
+ (*BadRequest)(nil), // 5: rpc.v1.BadRequest
+ (*RequestInfo)(nil), // 6: rpc.v1.RequestInfo
+ (*ResourceInfo)(nil), // 7: rpc.v1.ResourceInfo
+ (*Help)(nil), // 8: rpc.v1.Help
+ (*LocalizedMessage)(nil), // 9: rpc.v1.LocalizedMessage
+ nil, // 10: rpc.v1.ErrorInfo.MetadataEntry
+ (*QuotaFailure_Violation)(nil), // 11: rpc.v1.QuotaFailure.Violation
+ (*PreconditionFailure_Violation)(nil), // 12: rpc.v1.PreconditionFailure.Violation
+ (*BadRequest_FieldViolation)(nil), // 13: rpc.v1.BadRequest.FieldViolation
+ (*Help_Link)(nil), // 14: rpc.v1.Help.Link
+ (*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/apis/grpc/v1/rpc/errdetails/error_details.pb.json.go b/apis/grpc/v1/rpc/errdetails/error_details.pb.json.go
index 64d4be7c523..8aad832ca97 100644
--- a/apis/grpc/v1/rpc/errdetails/error_details.pb.json.go
+++ b/apis/grpc/v1/rpc/errdetails/error_details.pb.json.go
@@ -20,9 +20,7 @@
package errdetails
-import (
- "google.golang.org/protobuf/encoding/protojson"
-)
+import "google.golang.org/protobuf/encoding/protojson"
// MarshalJSON implements json.Marshaler
func (msg *ErrorInfo) MarshalJSON() ([]byte, error) {
diff --git a/apis/grpc/v1/rpc/errdetails/error_details_vtproto.pb.go b/apis/grpc/v1/rpc/errdetails/error_details_vtproto.pb.go
index 908b2d21a5b..580f165e44c 100644
--- a/apis/grpc/v1/rpc/errdetails/error_details_vtproto.pb.go
+++ b/apis/grpc/v1/rpc/errdetails/error_details_vtproto.pb.go
@@ -1,17 +1,31 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/rpc/errdetails/error_details.proto
+//
+// Copyright (C) 2024 Google LLC
+// Modified by vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package errdetails
import (
fmt "fmt"
+
protohelpers "github.com/planetscale/vtprotobuf/protohelpers"
durationpb1 "github.com/planetscale/vtprotobuf/types/known/durationpb"
+ io "github.com/vdaas/vald/internal/io"
proto "google.golang.org/protobuf/proto"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
durationpb "google.golang.org/protobuf/types/known/durationpb"
- io "github.com/vdaas/vald/internal/io"
)
const (
@@ -340,6 +354,7 @@ func (this *ErrorInfo) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *RetryInfo) EqualVT(that *RetryInfo) bool {
if this == that {
return true
@@ -359,6 +374,7 @@ func (this *RetryInfo) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *DebugInfo) EqualVT(that *DebugInfo) bool {
if this == that {
return true
@@ -387,6 +403,7 @@ func (this *DebugInfo) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *QuotaFailure_Violation) EqualVT(that *QuotaFailure_Violation) bool {
if this == that {
return true
@@ -409,6 +426,7 @@ func (this *QuotaFailure_Violation) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *QuotaFailure) EqualVT(that *QuotaFailure) bool {
if this == that {
return true
@@ -442,6 +460,7 @@ func (this *QuotaFailure) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *PreconditionFailure_Violation) EqualVT(that *PreconditionFailure_Violation) bool {
if this == that {
return true
@@ -467,6 +486,7 @@ func (this *PreconditionFailure_Violation) EqualMessageVT(thatMsg proto.Message)
}
return this.EqualVT(that)
}
+
func (this *PreconditionFailure) EqualVT(that *PreconditionFailure) bool {
if this == that {
return true
@@ -500,6 +520,7 @@ func (this *PreconditionFailure) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *BadRequest_FieldViolation) EqualVT(that *BadRequest_FieldViolation) bool {
if this == that {
return true
@@ -522,6 +543,7 @@ func (this *BadRequest_FieldViolation) EqualMessageVT(thatMsg proto.Message) boo
}
return this.EqualVT(that)
}
+
func (this *BadRequest) EqualVT(that *BadRequest) bool {
if this == that {
return true
@@ -555,6 +577,7 @@ func (this *BadRequest) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *RequestInfo) EqualVT(that *RequestInfo) bool {
if this == that {
return true
@@ -577,6 +600,7 @@ func (this *RequestInfo) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *ResourceInfo) EqualVT(that *ResourceInfo) bool {
if this == that {
return true
@@ -605,6 +629,7 @@ func (this *ResourceInfo) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Help_Link) EqualVT(that *Help_Link) bool {
if this == that {
return true
@@ -627,6 +652,7 @@ func (this *Help_Link) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *Help) EqualVT(that *Help) bool {
if this == that {
return true
@@ -660,6 +686,7 @@ func (this *Help) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (this *LocalizedMessage) EqualVT(that *LocalizedMessage) bool {
if this == that {
return true
@@ -682,6 +709,7 @@ func (this *LocalizedMessage) EqualMessageVT(thatMsg proto.Message) bool {
}
return this.EqualVT(that)
}
+
func (m *ErrorInfo) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
@@ -1874,6 +1902,7 @@ func (m *ErrorInfo) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *RetryInfo) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -1961,6 +1990,7 @@ func (m *RetryInfo) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *DebugInfo) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -2076,6 +2106,7 @@ func (m *DebugInfo) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *QuotaFailure_Violation) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -2191,6 +2222,7 @@ func (m *QuotaFailure_Violation) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *QuotaFailure) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -2276,6 +2308,7 @@ func (m *QuotaFailure) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *PreconditionFailure_Violation) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -2423,6 +2456,7 @@ func (m *PreconditionFailure_Violation) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *PreconditionFailure) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -2508,6 +2542,7 @@ func (m *PreconditionFailure) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *BadRequest_FieldViolation) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -2623,6 +2658,7 @@ func (m *BadRequest_FieldViolation) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *BadRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -2708,6 +2744,7 @@ func (m *BadRequest) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *RequestInfo) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -2823,6 +2860,7 @@ func (m *RequestInfo) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *ResourceInfo) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -3002,6 +3040,7 @@ func (m *ResourceInfo) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Help_Link) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -3117,6 +3156,7 @@ func (m *Help_Link) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *Help) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -3202,6 +3242,7 @@ func (m *Help) UnmarshalVT(dAtA []byte) error {
}
return nil
}
+
func (m *LocalizedMessage) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
diff --git a/apis/grpc/v1/vald/filter.pb.go b/apis/grpc/v1/vald/filter.pb.go
index 48375f9807d..8309d71f5b9 100644
--- a/apis/grpc/v1/vald/filter.pb.go
+++ b/apis/grpc/v1/vald/filter.pb.go
@@ -23,11 +23,12 @@
package vald
import (
+ reflect "reflect"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -153,6 +154,7 @@ var file_v1_vald_filter_proto_goTypes = []any{
(*payload.Object_StreamLocation)(nil), // 12: payload.v1.Object.StreamLocation
(*payload.Object_Locations)(nil), // 13: payload.v1.Object.Locations
}
+
var file_v1_vald_filter_proto_depIdxs = []int32{
0, // 0: vald.v1.Filter.SearchObject:input_type -> payload.v1.Search.ObjectRequest
1, // 1: vald.v1.Filter.MultiSearchObject:input_type -> payload.v1.Search.MultiObjectRequest
diff --git a/apis/grpc/v1/vald/filter_vtproto.pb.go b/apis/grpc/v1/vald/filter_vtproto.pb.go
index ff90196e1ac..54963521a7b 100644
--- a/apis/grpc/v1/vald/filter_vtproto.pb.go
+++ b/apis/grpc/v1/vald/filter_vtproto.pb.go
@@ -1,15 +1,28 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/vald/filter.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package vald
import (
context "context"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
- grpc "google.golang.org/grpc"
codes "github.com/vdaas/vald/internal/net/grpc/codes"
status "github.com/vdaas/vald/internal/net/grpc/status"
+ grpc "google.golang.org/grpc"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
@@ -63,7 +76,9 @@ func NewFilterClient(cc grpc.ClientConnInterface) FilterClient {
return &filterClient{cc}
}
-func (c *filterClient) SearchObject(ctx context.Context, in *payload.Search_ObjectRequest, opts ...grpc.CallOption) (*payload.Search_Response, error) {
+func (c *filterClient) SearchObject(
+ ctx context.Context, in *payload.Search_ObjectRequest, opts ...grpc.CallOption,
+) (*payload.Search_Response, error) {
out := new(payload.Search_Response)
err := c.cc.Invoke(ctx, "/vald.v1.Filter/SearchObject", in, out, opts...)
if err != nil {
@@ -72,7 +87,9 @@ func (c *filterClient) SearchObject(ctx context.Context, in *payload.Search_Obje
return out, nil
}
-func (c *filterClient) MultiSearchObject(ctx context.Context, in *payload.Search_MultiObjectRequest, opts ...grpc.CallOption) (*payload.Search_Responses, error) {
+func (c *filterClient) MultiSearchObject(
+ ctx context.Context, in *payload.Search_MultiObjectRequest, opts ...grpc.CallOption,
+) (*payload.Search_Responses, error) {
out := new(payload.Search_Responses)
err := c.cc.Invoke(ctx, "/vald.v1.Filter/MultiSearchObject", in, out, opts...)
if err != nil {
@@ -81,7 +98,9 @@ func (c *filterClient) MultiSearchObject(ctx context.Context, in *payload.Search
return out, nil
}
-func (c *filterClient) StreamSearchObject(ctx context.Context, opts ...grpc.CallOption) (Filter_StreamSearchObjectClient, error) {
+func (c *filterClient) StreamSearchObject(
+ ctx context.Context, opts ...grpc.CallOption,
+) (Filter_StreamSearchObjectClient, error) {
stream, err := c.cc.NewStream(ctx, &Filter_ServiceDesc.Streams[0], "/vald.v1.Filter/StreamSearchObject", opts...)
if err != nil {
return nil, err
@@ -112,7 +131,9 @@ func (x *filterStreamSearchObjectClient) Recv() (*payload.Search_StreamResponse,
return m, nil
}
-func (c *filterClient) InsertObject(ctx context.Context, in *payload.Insert_ObjectRequest, opts ...grpc.CallOption) (*payload.Object_Location, error) {
+func (c *filterClient) InsertObject(
+ ctx context.Context, in *payload.Insert_ObjectRequest, opts ...grpc.CallOption,
+) (*payload.Object_Location, error) {
out := new(payload.Object_Location)
err := c.cc.Invoke(ctx, "/vald.v1.Filter/InsertObject", in, out, opts...)
if err != nil {
@@ -121,7 +142,9 @@ func (c *filterClient) InsertObject(ctx context.Context, in *payload.Insert_Obje
return out, nil
}
-func (c *filterClient) StreamInsertObject(ctx context.Context, opts ...grpc.CallOption) (Filter_StreamInsertObjectClient, error) {
+func (c *filterClient) StreamInsertObject(
+ ctx context.Context, opts ...grpc.CallOption,
+) (Filter_StreamInsertObjectClient, error) {
stream, err := c.cc.NewStream(ctx, &Filter_ServiceDesc.Streams[1], "/vald.v1.Filter/StreamInsertObject", opts...)
if err != nil {
return nil, err
@@ -152,7 +175,9 @@ func (x *filterStreamInsertObjectClient) Recv() (*payload.Object_StreamLocation,
return m, nil
}
-func (c *filterClient) MultiInsertObject(ctx context.Context, in *payload.Insert_MultiObjectRequest, opts ...grpc.CallOption) (*payload.Object_Locations, error) {
+func (c *filterClient) MultiInsertObject(
+ ctx context.Context, in *payload.Insert_MultiObjectRequest, opts ...grpc.CallOption,
+) (*payload.Object_Locations, error) {
out := new(payload.Object_Locations)
err := c.cc.Invoke(ctx, "/vald.v1.Filter/MultiInsertObject", in, out, opts...)
if err != nil {
@@ -161,7 +186,9 @@ func (c *filterClient) MultiInsertObject(ctx context.Context, in *payload.Insert
return out, nil
}
-func (c *filterClient) UpdateObject(ctx context.Context, in *payload.Update_ObjectRequest, opts ...grpc.CallOption) (*payload.Object_Location, error) {
+func (c *filterClient) UpdateObject(
+ ctx context.Context, in *payload.Update_ObjectRequest, opts ...grpc.CallOption,
+) (*payload.Object_Location, error) {
out := new(payload.Object_Location)
err := c.cc.Invoke(ctx, "/vald.v1.Filter/UpdateObject", in, out, opts...)
if err != nil {
@@ -170,7 +197,9 @@ func (c *filterClient) UpdateObject(ctx context.Context, in *payload.Update_Obje
return out, nil
}
-func (c *filterClient) StreamUpdateObject(ctx context.Context, opts ...grpc.CallOption) (Filter_StreamUpdateObjectClient, error) {
+func (c *filterClient) StreamUpdateObject(
+ ctx context.Context, opts ...grpc.CallOption,
+) (Filter_StreamUpdateObjectClient, error) {
stream, err := c.cc.NewStream(ctx, &Filter_ServiceDesc.Streams[2], "/vald.v1.Filter/StreamUpdateObject", opts...)
if err != nil {
return nil, err
@@ -201,7 +230,9 @@ func (x *filterStreamUpdateObjectClient) Recv() (*payload.Object_StreamLocation,
return m, nil
}
-func (c *filterClient) MultiUpdateObject(ctx context.Context, in *payload.Update_MultiObjectRequest, opts ...grpc.CallOption) (*payload.Object_Locations, error) {
+func (c *filterClient) MultiUpdateObject(
+ ctx context.Context, in *payload.Update_MultiObjectRequest, opts ...grpc.CallOption,
+) (*payload.Object_Locations, error) {
out := new(payload.Object_Locations)
err := c.cc.Invoke(ctx, "/vald.v1.Filter/MultiUpdateObject", in, out, opts...)
if err != nil {
@@ -210,7 +241,9 @@ func (c *filterClient) MultiUpdateObject(ctx context.Context, in *payload.Update
return out, nil
}
-func (c *filterClient) UpsertObject(ctx context.Context, in *payload.Upsert_ObjectRequest, opts ...grpc.CallOption) (*payload.Object_Location, error) {
+func (c *filterClient) UpsertObject(
+ ctx context.Context, in *payload.Upsert_ObjectRequest, opts ...grpc.CallOption,
+) (*payload.Object_Location, error) {
out := new(payload.Object_Location)
err := c.cc.Invoke(ctx, "/vald.v1.Filter/UpsertObject", in, out, opts...)
if err != nil {
@@ -219,7 +252,9 @@ func (c *filterClient) UpsertObject(ctx context.Context, in *payload.Upsert_Obje
return out, nil
}
-func (c *filterClient) StreamUpsertObject(ctx context.Context, opts ...grpc.CallOption) (Filter_StreamUpsertObjectClient, error) {
+func (c *filterClient) StreamUpsertObject(
+ ctx context.Context, opts ...grpc.CallOption,
+) (Filter_StreamUpsertObjectClient, error) {
stream, err := c.cc.NewStream(ctx, &Filter_ServiceDesc.Streams[3], "/vald.v1.Filter/StreamUpsertObject", opts...)
if err != nil {
return nil, err
@@ -250,7 +285,9 @@ func (x *filterStreamUpsertObjectClient) Recv() (*payload.Object_StreamLocation,
return m, nil
}
-func (c *filterClient) MultiUpsertObject(ctx context.Context, in *payload.Upsert_MultiObjectRequest, opts ...grpc.CallOption) (*payload.Object_Locations, error) {
+func (c *filterClient) MultiUpsertObject(
+ ctx context.Context, in *payload.Upsert_MultiObjectRequest, opts ...grpc.CallOption,
+) (*payload.Object_Locations, error) {
out := new(payload.Object_Locations)
err := c.cc.Invoke(ctx, "/vald.v1.Filter/MultiUpsertObject", in, out, opts...)
if err != nil {
@@ -291,43 +328,69 @@ type FilterServer interface {
}
// UnimplementedFilterServer must be embedded to have forward compatible implementations.
-type UnimplementedFilterServer struct {
-}
+type UnimplementedFilterServer struct{}
-func (UnimplementedFilterServer) SearchObject(context.Context, *payload.Search_ObjectRequest) (*payload.Search_Response, error) {
+func (UnimplementedFilterServer) SearchObject(
+ context.Context, *payload.Search_ObjectRequest,
+) (*payload.Search_Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method SearchObject not implemented")
}
-func (UnimplementedFilterServer) MultiSearchObject(context.Context, *payload.Search_MultiObjectRequest) (*payload.Search_Responses, error) {
+
+func (UnimplementedFilterServer) MultiSearchObject(
+ context.Context, *payload.Search_MultiObjectRequest,
+) (*payload.Search_Responses, error) {
return nil, status.Errorf(codes.Unimplemented, "method MultiSearchObject not implemented")
}
+
func (UnimplementedFilterServer) StreamSearchObject(Filter_StreamSearchObjectServer) error {
return status.Errorf(codes.Unimplemented, "method StreamSearchObject not implemented")
}
-func (UnimplementedFilterServer) InsertObject(context.Context, *payload.Insert_ObjectRequest) (*payload.Object_Location, error) {
+
+func (UnimplementedFilterServer) InsertObject(
+ context.Context, *payload.Insert_ObjectRequest,
+) (*payload.Object_Location, error) {
return nil, status.Errorf(codes.Unimplemented, "method InsertObject not implemented")
}
+
func (UnimplementedFilterServer) StreamInsertObject(Filter_StreamInsertObjectServer) error {
return status.Errorf(codes.Unimplemented, "method StreamInsertObject not implemented")
}
-func (UnimplementedFilterServer) MultiInsertObject(context.Context, *payload.Insert_MultiObjectRequest) (*payload.Object_Locations, error) {
+
+func (UnimplementedFilterServer) MultiInsertObject(
+ context.Context, *payload.Insert_MultiObjectRequest,
+) (*payload.Object_Locations, error) {
return nil, status.Errorf(codes.Unimplemented, "method MultiInsertObject not implemented")
}
-func (UnimplementedFilterServer) UpdateObject(context.Context, *payload.Update_ObjectRequest) (*payload.Object_Location, error) {
+
+func (UnimplementedFilterServer) UpdateObject(
+ context.Context, *payload.Update_ObjectRequest,
+) (*payload.Object_Location, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateObject not implemented")
}
+
func (UnimplementedFilterServer) StreamUpdateObject(Filter_StreamUpdateObjectServer) error {
return status.Errorf(codes.Unimplemented, "method StreamUpdateObject not implemented")
}
-func (UnimplementedFilterServer) MultiUpdateObject(context.Context, *payload.Update_MultiObjectRequest) (*payload.Object_Locations, error) {
+
+func (UnimplementedFilterServer) MultiUpdateObject(
+ context.Context, *payload.Update_MultiObjectRequest,
+) (*payload.Object_Locations, error) {
return nil, status.Errorf(codes.Unimplemented, "method MultiUpdateObject not implemented")
}
-func (UnimplementedFilterServer) UpsertObject(context.Context, *payload.Upsert_ObjectRequest) (*payload.Object_Location, error) {
+
+func (UnimplementedFilterServer) UpsertObject(
+ context.Context, *payload.Upsert_ObjectRequest,
+) (*payload.Object_Location, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpsertObject not implemented")
}
+
func (UnimplementedFilterServer) StreamUpsertObject(Filter_StreamUpsertObjectServer) error {
return status.Errorf(codes.Unimplemented, "method StreamUpsertObject not implemented")
}
-func (UnimplementedFilterServer) MultiUpsertObject(context.Context, *payload.Upsert_MultiObjectRequest) (*payload.Object_Locations, error) {
+
+func (UnimplementedFilterServer) MultiUpsertObject(
+ context.Context, *payload.Upsert_MultiObjectRequest,
+) (*payload.Object_Locations, error) {
return nil, status.Errorf(codes.Unimplemented, "method MultiUpsertObject not implemented")
}
func (UnimplementedFilterServer) mustEmbedUnimplementedFilterServer() {}
@@ -343,7 +406,9 @@ func RegisterFilterServer(s grpc.ServiceRegistrar, srv FilterServer) {
s.RegisterService(&Filter_ServiceDesc, srv)
}
-func _Filter_SearchObject_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Filter_SearchObject_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Search_ObjectRequest)
if err := dec(in); err != nil {
return nil, err
@@ -361,7 +426,9 @@ func _Filter_SearchObject_Handler(srv any, ctx context.Context, dec func(any) er
return interceptor(ctx, in, info, handler)
}
-func _Filter_MultiSearchObject_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Filter_MultiSearchObject_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Search_MultiObjectRequest)
if err := dec(in); err != nil {
return nil, err
@@ -405,7 +472,9 @@ func (x *filterStreamSearchObjectServer) Recv() (*payload.Search_ObjectRequest,
return m, nil
}
-func _Filter_InsertObject_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Filter_InsertObject_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Insert_ObjectRequest)
if err := dec(in); err != nil {
return nil, err
@@ -449,7 +518,9 @@ func (x *filterStreamInsertObjectServer) Recv() (*payload.Insert_ObjectRequest,
return m, nil
}
-func _Filter_MultiInsertObject_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Filter_MultiInsertObject_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Insert_MultiObjectRequest)
if err := dec(in); err != nil {
return nil, err
@@ -467,7 +538,9 @@ func _Filter_MultiInsertObject_Handler(srv any, ctx context.Context, dec func(an
return interceptor(ctx, in, info, handler)
}
-func _Filter_UpdateObject_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Filter_UpdateObject_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Update_ObjectRequest)
if err := dec(in); err != nil {
return nil, err
@@ -511,7 +584,9 @@ func (x *filterStreamUpdateObjectServer) Recv() (*payload.Update_ObjectRequest,
return m, nil
}
-func _Filter_MultiUpdateObject_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Filter_MultiUpdateObject_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Update_MultiObjectRequest)
if err := dec(in); err != nil {
return nil, err
@@ -529,7 +604,9 @@ func _Filter_MultiUpdateObject_Handler(srv any, ctx context.Context, dec func(an
return interceptor(ctx, in, info, handler)
}
-func _Filter_UpsertObject_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Filter_UpsertObject_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Upsert_ObjectRequest)
if err := dec(in); err != nil {
return nil, err
@@ -573,7 +650,9 @@ func (x *filterStreamUpsertObjectServer) Recv() (*payload.Upsert_ObjectRequest,
return m, nil
}
-func _Filter_MultiUpsertObject_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Filter_MultiUpsertObject_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Upsert_MultiObjectRequest)
if err := dec(in); err != nil {
return nil, err
diff --git a/apis/grpc/v1/vald/flush.pb.go b/apis/grpc/v1/vald/flush.pb.go
index 8e02dff1f25..282dbd05900 100644
--- a/apis/grpc/v1/vald/flush.pb.go
+++ b/apis/grpc/v1/vald/flush.pb.go
@@ -23,11 +23,12 @@
package vald
import (
+ reflect "reflect"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -63,6 +64,7 @@ var file_v1_vald_flush_proto_goTypes = []any{
(*payload.Flush_Request)(nil), // 0: payload.v1.Flush.Request
(*payload.Info_Index_Count)(nil), // 1: payload.v1.Info.Index.Count
}
+
var file_v1_vald_flush_proto_depIdxs = []int32{
0, // 0: vald.v1.Flush.Flush:input_type -> payload.v1.Flush.Request
1, // 1: vald.v1.Flush.Flush:output_type -> payload.v1.Info.Index.Count
diff --git a/apis/grpc/v1/vald/flush_vtproto.pb.go b/apis/grpc/v1/vald/flush_vtproto.pb.go
index 95784bf3c71..fd1978bec8d 100644
--- a/apis/grpc/v1/vald/flush_vtproto.pb.go
+++ b/apis/grpc/v1/vald/flush_vtproto.pb.go
@@ -1,15 +1,28 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/vald/flush.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package vald
import (
context "context"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
- grpc "google.golang.org/grpc"
codes "github.com/vdaas/vald/internal/net/grpc/codes"
status "github.com/vdaas/vald/internal/net/grpc/status"
+ grpc "google.golang.org/grpc"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
@@ -41,7 +54,9 @@ func NewFlushClient(cc grpc.ClientConnInterface) FlushClient {
return &flushClient{cc}
}
-func (c *flushClient) Flush(ctx context.Context, in *payload.Flush_Request, opts ...grpc.CallOption) (*payload.Info_Index_Count, error) {
+func (c *flushClient) Flush(
+ ctx context.Context, in *payload.Flush_Request, opts ...grpc.CallOption,
+) (*payload.Info_Index_Count, error) {
out := new(payload.Info_Index_Count)
err := c.cc.Invoke(ctx, "/vald.v1.Flush/Flush", in, out, opts...)
if err != nil {
@@ -60,10 +75,11 @@ type FlushServer interface {
}
// UnimplementedFlushServer must be embedded to have forward compatible implementations.
-type UnimplementedFlushServer struct {
-}
+type UnimplementedFlushServer struct{}
-func (UnimplementedFlushServer) Flush(context.Context, *payload.Flush_Request) (*payload.Info_Index_Count, error) {
+func (UnimplementedFlushServer) Flush(
+ context.Context, *payload.Flush_Request,
+) (*payload.Info_Index_Count, error) {
return nil, status.Errorf(codes.Unimplemented, "method Flush not implemented")
}
func (UnimplementedFlushServer) mustEmbedUnimplementedFlushServer() {}
@@ -79,7 +95,9 @@ func RegisterFlushServer(s grpc.ServiceRegistrar, srv FlushServer) {
s.RegisterService(&Flush_ServiceDesc, srv)
}
-func _Flush_Flush_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Flush_Flush_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Flush_Request)
if err := dec(in); err != nil {
return nil, err
diff --git a/apis/grpc/v1/vald/index.pb.go b/apis/grpc/v1/vald/index.pb.go
index ccd5644687a..58728f3ad6f 100644
--- a/apis/grpc/v1/vald/index.pb.go
+++ b/apis/grpc/v1/vald/index.pb.go
@@ -23,11 +23,12 @@
package vald
import (
+ reflect "reflect"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -93,6 +94,7 @@ var file_v1_vald_index_proto_goTypes = []any{
(*payload.Info_Index_StatisticsDetail)(nil), // 4: payload.v1.Info.Index.StatisticsDetail
(*payload.Info_Index_PropertyDetail)(nil), // 5: payload.v1.Info.Index.PropertyDetail
}
+
var file_v1_vald_index_proto_depIdxs = []int32{
0, // 0: vald.v1.Index.IndexInfo:input_type -> payload.v1.Empty
0, // 1: vald.v1.Index.IndexDetail:input_type -> payload.v1.Empty
diff --git a/apis/grpc/v1/vald/index_vtproto.pb.go b/apis/grpc/v1/vald/index_vtproto.pb.go
index 2d96883a0a7..e0d8f29f686 100644
--- a/apis/grpc/v1/vald/index_vtproto.pb.go
+++ b/apis/grpc/v1/vald/index_vtproto.pb.go
@@ -1,15 +1,28 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/vald/index.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package vald
import (
context "context"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
- grpc "google.golang.org/grpc"
codes "github.com/vdaas/vald/internal/net/grpc/codes"
status "github.com/vdaas/vald/internal/net/grpc/status"
+ grpc "google.golang.org/grpc"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
@@ -49,7 +62,9 @@ func NewIndexClient(cc grpc.ClientConnInterface) IndexClient {
return &indexClient{cc}
}
-func (c *indexClient) IndexInfo(ctx context.Context, in *payload.Empty, opts ...grpc.CallOption) (*payload.Info_Index_Count, error) {
+func (c *indexClient) IndexInfo(
+ ctx context.Context, in *payload.Empty, opts ...grpc.CallOption,
+) (*payload.Info_Index_Count, error) {
out := new(payload.Info_Index_Count)
err := c.cc.Invoke(ctx, "/vald.v1.Index/IndexInfo", in, out, opts...)
if err != nil {
@@ -58,7 +73,9 @@ func (c *indexClient) IndexInfo(ctx context.Context, in *payload.Empty, opts ...
return out, nil
}
-func (c *indexClient) IndexDetail(ctx context.Context, in *payload.Empty, opts ...grpc.CallOption) (*payload.Info_Index_Detail, error) {
+func (c *indexClient) IndexDetail(
+ ctx context.Context, in *payload.Empty, opts ...grpc.CallOption,
+) (*payload.Info_Index_Detail, error) {
out := new(payload.Info_Index_Detail)
err := c.cc.Invoke(ctx, "/vald.v1.Index/IndexDetail", in, out, opts...)
if err != nil {
@@ -67,7 +84,9 @@ func (c *indexClient) IndexDetail(ctx context.Context, in *payload.Empty, opts .
return out, nil
}
-func (c *indexClient) IndexStatistics(ctx context.Context, in *payload.Empty, opts ...grpc.CallOption) (*payload.Info_Index_Statistics, error) {
+func (c *indexClient) IndexStatistics(
+ ctx context.Context, in *payload.Empty, opts ...grpc.CallOption,
+) (*payload.Info_Index_Statistics, error) {
out := new(payload.Info_Index_Statistics)
err := c.cc.Invoke(ctx, "/vald.v1.Index/IndexStatistics", in, out, opts...)
if err != nil {
@@ -76,7 +95,9 @@ func (c *indexClient) IndexStatistics(ctx context.Context, in *payload.Empty, op
return out, nil
}
-func (c *indexClient) IndexStatisticsDetail(ctx context.Context, in *payload.Empty, opts ...grpc.CallOption) (*payload.Info_Index_StatisticsDetail, error) {
+func (c *indexClient) IndexStatisticsDetail(
+ ctx context.Context, in *payload.Empty, opts ...grpc.CallOption,
+) (*payload.Info_Index_StatisticsDetail, error) {
out := new(payload.Info_Index_StatisticsDetail)
err := c.cc.Invoke(ctx, "/vald.v1.Index/IndexStatisticsDetail", in, out, opts...)
if err != nil {
@@ -85,7 +106,9 @@ func (c *indexClient) IndexStatisticsDetail(ctx context.Context, in *payload.Emp
return out, nil
}
-func (c *indexClient) IndexProperty(ctx context.Context, in *payload.Empty, opts ...grpc.CallOption) (*payload.Info_Index_PropertyDetail, error) {
+func (c *indexClient) IndexProperty(
+ ctx context.Context, in *payload.Empty, opts ...grpc.CallOption,
+) (*payload.Info_Index_PropertyDetail, error) {
out := new(payload.Info_Index_PropertyDetail)
err := c.cc.Invoke(ctx, "/vald.v1.Index/IndexProperty", in, out, opts...)
if err != nil {
@@ -112,22 +135,35 @@ type IndexServer interface {
}
// UnimplementedIndexServer must be embedded to have forward compatible implementations.
-type UnimplementedIndexServer struct {
-}
+type UnimplementedIndexServer struct{}
-func (UnimplementedIndexServer) IndexInfo(context.Context, *payload.Empty) (*payload.Info_Index_Count, error) {
+func (UnimplementedIndexServer) IndexInfo(
+ context.Context, *payload.Empty,
+) (*payload.Info_Index_Count, error) {
return nil, status.Errorf(codes.Unimplemented, "method IndexInfo not implemented")
}
-func (UnimplementedIndexServer) IndexDetail(context.Context, *payload.Empty) (*payload.Info_Index_Detail, error) {
+
+func (UnimplementedIndexServer) IndexDetail(
+ context.Context, *payload.Empty,
+) (*payload.Info_Index_Detail, error) {
return nil, status.Errorf(codes.Unimplemented, "method IndexDetail not implemented")
}
-func (UnimplementedIndexServer) IndexStatistics(context.Context, *payload.Empty) (*payload.Info_Index_Statistics, error) {
+
+func (UnimplementedIndexServer) IndexStatistics(
+ context.Context, *payload.Empty,
+) (*payload.Info_Index_Statistics, error) {
return nil, status.Errorf(codes.Unimplemented, "method IndexStatistics not implemented")
}
-func (UnimplementedIndexServer) IndexStatisticsDetail(context.Context, *payload.Empty) (*payload.Info_Index_StatisticsDetail, error) {
+
+func (UnimplementedIndexServer) IndexStatisticsDetail(
+ context.Context, *payload.Empty,
+) (*payload.Info_Index_StatisticsDetail, error) {
return nil, status.Errorf(codes.Unimplemented, "method IndexStatisticsDetail not implemented")
}
-func (UnimplementedIndexServer) IndexProperty(context.Context, *payload.Empty) (*payload.Info_Index_PropertyDetail, error) {
+
+func (UnimplementedIndexServer) IndexProperty(
+ context.Context, *payload.Empty,
+) (*payload.Info_Index_PropertyDetail, error) {
return nil, status.Errorf(codes.Unimplemented, "method IndexProperty not implemented")
}
func (UnimplementedIndexServer) mustEmbedUnimplementedIndexServer() {}
@@ -143,7 +179,9 @@ func RegisterIndexServer(s grpc.ServiceRegistrar, srv IndexServer) {
s.RegisterService(&Index_ServiceDesc, srv)
}
-func _Index_IndexInfo_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Index_IndexInfo_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Empty)
if err := dec(in); err != nil {
return nil, err
@@ -161,7 +199,9 @@ func _Index_IndexInfo_Handler(srv any, ctx context.Context, dec func(any) error,
return interceptor(ctx, in, info, handler)
}
-func _Index_IndexDetail_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Index_IndexDetail_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Empty)
if err := dec(in); err != nil {
return nil, err
@@ -179,7 +219,9 @@ func _Index_IndexDetail_Handler(srv any, ctx context.Context, dec func(any) erro
return interceptor(ctx, in, info, handler)
}
-func _Index_IndexStatistics_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Index_IndexStatistics_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Empty)
if err := dec(in); err != nil {
return nil, err
@@ -197,7 +239,9 @@ func _Index_IndexStatistics_Handler(srv any, ctx context.Context, dec func(any)
return interceptor(ctx, in, info, handler)
}
-func _Index_IndexStatisticsDetail_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Index_IndexStatisticsDetail_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Empty)
if err := dec(in); err != nil {
return nil, err
@@ -215,7 +259,9 @@ func _Index_IndexStatisticsDetail_Handler(srv any, ctx context.Context, dec func
return interceptor(ctx, in, info, handler)
}
-func _Index_IndexProperty_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Index_IndexProperty_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Empty)
if err := dec(in); err != nil {
return nil, err
diff --git a/apis/grpc/v1/vald/insert.pb.go b/apis/grpc/v1/vald/insert.pb.go
index 90ccd453369..26f4a05fe7d 100644
--- a/apis/grpc/v1/vald/insert.pb.go
+++ b/apis/grpc/v1/vald/insert.pb.go
@@ -23,11 +23,12 @@
package vald
import (
+ reflect "reflect"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -79,6 +80,7 @@ var file_v1_vald_insert_proto_goTypes = []any{
(*payload.Object_StreamLocation)(nil), // 3: payload.v1.Object.StreamLocation
(*payload.Object_Locations)(nil), // 4: payload.v1.Object.Locations
}
+
var file_v1_vald_insert_proto_depIdxs = []int32{
0, // 0: vald.v1.Insert.Insert:input_type -> payload.v1.Insert.Request
0, // 1: vald.v1.Insert.StreamInsert:input_type -> payload.v1.Insert.Request
diff --git a/apis/grpc/v1/vald/insert_vtproto.pb.go b/apis/grpc/v1/vald/insert_vtproto.pb.go
index a57da063f39..4adde0acb59 100644
--- a/apis/grpc/v1/vald/insert_vtproto.pb.go
+++ b/apis/grpc/v1/vald/insert_vtproto.pb.go
@@ -1,15 +1,28 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/vald/insert.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package vald
import (
context "context"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
- grpc "google.golang.org/grpc"
codes "github.com/vdaas/vald/internal/net/grpc/codes"
status "github.com/vdaas/vald/internal/net/grpc/status"
+ grpc "google.golang.org/grpc"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
@@ -45,7 +58,9 @@ func NewInsertClient(cc grpc.ClientConnInterface) InsertClient {
return &insertClient{cc}
}
-func (c *insertClient) Insert(ctx context.Context, in *payload.Insert_Request, opts ...grpc.CallOption) (*payload.Object_Location, error) {
+func (c *insertClient) Insert(
+ ctx context.Context, in *payload.Insert_Request, opts ...grpc.CallOption,
+) (*payload.Object_Location, error) {
out := new(payload.Object_Location)
err := c.cc.Invoke(ctx, "/vald.v1.Insert/Insert", in, out, opts...)
if err != nil {
@@ -54,7 +69,9 @@ func (c *insertClient) Insert(ctx context.Context, in *payload.Insert_Request, o
return out, nil
}
-func (c *insertClient) StreamInsert(ctx context.Context, opts ...grpc.CallOption) (Insert_StreamInsertClient, error) {
+func (c *insertClient) StreamInsert(
+ ctx context.Context, opts ...grpc.CallOption,
+) (Insert_StreamInsertClient, error) {
stream, err := c.cc.NewStream(ctx, &Insert_ServiceDesc.Streams[0], "/vald.v1.Insert/StreamInsert", opts...)
if err != nil {
return nil, err
@@ -85,7 +102,9 @@ func (x *insertStreamInsertClient) Recv() (*payload.Object_StreamLocation, error
return m, nil
}
-func (c *insertClient) MultiInsert(ctx context.Context, in *payload.Insert_MultiRequest, opts ...grpc.CallOption) (*payload.Object_Locations, error) {
+func (c *insertClient) MultiInsert(
+ ctx context.Context, in *payload.Insert_MultiRequest, opts ...grpc.CallOption,
+) (*payload.Object_Locations, error) {
out := new(payload.Object_Locations)
err := c.cc.Invoke(ctx, "/vald.v1.Insert/MultiInsert", in, out, opts...)
if err != nil {
@@ -108,16 +127,21 @@ type InsertServer interface {
}
// UnimplementedInsertServer must be embedded to have forward compatible implementations.
-type UnimplementedInsertServer struct {
-}
+type UnimplementedInsertServer struct{}
-func (UnimplementedInsertServer) Insert(context.Context, *payload.Insert_Request) (*payload.Object_Location, error) {
+func (UnimplementedInsertServer) Insert(
+ context.Context, *payload.Insert_Request,
+) (*payload.Object_Location, error) {
return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented")
}
+
func (UnimplementedInsertServer) StreamInsert(Insert_StreamInsertServer) error {
return status.Errorf(codes.Unimplemented, "method StreamInsert not implemented")
}
-func (UnimplementedInsertServer) MultiInsert(context.Context, *payload.Insert_MultiRequest) (*payload.Object_Locations, error) {
+
+func (UnimplementedInsertServer) MultiInsert(
+ context.Context, *payload.Insert_MultiRequest,
+) (*payload.Object_Locations, error) {
return nil, status.Errorf(codes.Unimplemented, "method MultiInsert not implemented")
}
func (UnimplementedInsertServer) mustEmbedUnimplementedInsertServer() {}
@@ -133,7 +157,9 @@ func RegisterInsertServer(s grpc.ServiceRegistrar, srv InsertServer) {
s.RegisterService(&Insert_ServiceDesc, srv)
}
-func _Insert_Insert_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Insert_Insert_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Insert_Request)
if err := dec(in); err != nil {
return nil, err
@@ -177,7 +203,9 @@ func (x *insertStreamInsertServer) Recv() (*payload.Insert_Request, error) {
return m, nil
}
-func _Insert_MultiInsert_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Insert_MultiInsert_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Insert_MultiRequest)
if err := dec(in); err != nil {
return nil, err
diff --git a/apis/grpc/v1/vald/object.pb.go b/apis/grpc/v1/vald/object.pb.go
index cc269ba3176..f9114671040 100644
--- a/apis/grpc/v1/vald/object.pb.go
+++ b/apis/grpc/v1/vald/object.pb.go
@@ -23,11 +23,12 @@
package vald
import (
+ reflect "reflect"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -95,6 +96,7 @@ var file_v1_vald_object_proto_goTypes = []any{
(*payload.Object_List_Response)(nil), // 6: payload.v1.Object.List.Response
(*payload.Object_Timestamp)(nil), // 7: payload.v1.Object.Timestamp
}
+
var file_v1_vald_object_proto_depIdxs = []int32{
0, // 0: vald.v1.Object.Exists:input_type -> payload.v1.Object.ID
1, // 1: vald.v1.Object.GetObject:input_type -> payload.v1.Object.VectorRequest
diff --git a/apis/grpc/v1/vald/object_vtproto.pb.go b/apis/grpc/v1/vald/object_vtproto.pb.go
index 8ba9c1b4bea..1df7b6eadfb 100644
--- a/apis/grpc/v1/vald/object_vtproto.pb.go
+++ b/apis/grpc/v1/vald/object_vtproto.pb.go
@@ -1,15 +1,28 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/vald/object.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package vald
import (
context "context"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
- grpc "google.golang.org/grpc"
codes "github.com/vdaas/vald/internal/net/grpc/codes"
status "github.com/vdaas/vald/internal/net/grpc/status"
+ grpc "google.golang.org/grpc"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
@@ -49,7 +62,9 @@ func NewObjectClient(cc grpc.ClientConnInterface) ObjectClient {
return &objectClient{cc}
}
-func (c *objectClient) Exists(ctx context.Context, in *payload.Object_ID, opts ...grpc.CallOption) (*payload.Object_ID, error) {
+func (c *objectClient) Exists(
+ ctx context.Context, in *payload.Object_ID, opts ...grpc.CallOption,
+) (*payload.Object_ID, error) {
out := new(payload.Object_ID)
err := c.cc.Invoke(ctx, "/vald.v1.Object/Exists", in, out, opts...)
if err != nil {
@@ -58,7 +73,9 @@ func (c *objectClient) Exists(ctx context.Context, in *payload.Object_ID, opts .
return out, nil
}
-func (c *objectClient) GetObject(ctx context.Context, in *payload.Object_VectorRequest, opts ...grpc.CallOption) (*payload.Object_Vector, error) {
+func (c *objectClient) GetObject(
+ ctx context.Context, in *payload.Object_VectorRequest, opts ...grpc.CallOption,
+) (*payload.Object_Vector, error) {
out := new(payload.Object_Vector)
err := c.cc.Invoke(ctx, "/vald.v1.Object/GetObject", in, out, opts...)
if err != nil {
@@ -67,7 +84,9 @@ func (c *objectClient) GetObject(ctx context.Context, in *payload.Object_VectorR
return out, nil
}
-func (c *objectClient) StreamGetObject(ctx context.Context, opts ...grpc.CallOption) (Object_StreamGetObjectClient, error) {
+func (c *objectClient) StreamGetObject(
+ ctx context.Context, opts ...grpc.CallOption,
+) (Object_StreamGetObjectClient, error) {
stream, err := c.cc.NewStream(ctx, &Object_ServiceDesc.Streams[0], "/vald.v1.Object/StreamGetObject", opts...)
if err != nil {
return nil, err
@@ -98,7 +117,9 @@ func (x *objectStreamGetObjectClient) Recv() (*payload.Object_StreamVector, erro
return m, nil
}
-func (c *objectClient) StreamListObject(ctx context.Context, in *payload.Object_List_Request, opts ...grpc.CallOption) (Object_StreamListObjectClient, error) {
+func (c *objectClient) StreamListObject(
+ ctx context.Context, in *payload.Object_List_Request, opts ...grpc.CallOption,
+) (Object_StreamListObjectClient, error) {
stream, err := c.cc.NewStream(ctx, &Object_ServiceDesc.Streams[1], "/vald.v1.Object/StreamListObject", opts...)
if err != nil {
return nil, err
@@ -130,7 +151,9 @@ func (x *objectStreamListObjectClient) Recv() (*payload.Object_List_Response, er
return m, nil
}
-func (c *objectClient) GetTimestamp(ctx context.Context, in *payload.Object_TimestampRequest, opts ...grpc.CallOption) (*payload.Object_Timestamp, error) {
+func (c *objectClient) GetTimestamp(
+ ctx context.Context, in *payload.Object_TimestampRequest, opts ...grpc.CallOption,
+) (*payload.Object_Timestamp, error) {
out := new(payload.Object_Timestamp)
err := c.cc.Invoke(ctx, "/vald.v1.Object/GetTimestamp", in, out, opts...)
if err != nil {
@@ -157,22 +180,33 @@ type ObjectServer interface {
}
// UnimplementedObjectServer must be embedded to have forward compatible implementations.
-type UnimplementedObjectServer struct {
-}
+type UnimplementedObjectServer struct{}
-func (UnimplementedObjectServer) Exists(context.Context, *payload.Object_ID) (*payload.Object_ID, error) {
+func (UnimplementedObjectServer) Exists(
+ context.Context, *payload.Object_ID,
+) (*payload.Object_ID, error) {
return nil, status.Errorf(codes.Unimplemented, "method Exists not implemented")
}
-func (UnimplementedObjectServer) GetObject(context.Context, *payload.Object_VectorRequest) (*payload.Object_Vector, error) {
+
+func (UnimplementedObjectServer) GetObject(
+ context.Context, *payload.Object_VectorRequest,
+) (*payload.Object_Vector, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetObject not implemented")
}
+
func (UnimplementedObjectServer) StreamGetObject(Object_StreamGetObjectServer) error {
return status.Errorf(codes.Unimplemented, "method StreamGetObject not implemented")
}
-func (UnimplementedObjectServer) StreamListObject(*payload.Object_List_Request, Object_StreamListObjectServer) error {
+
+func (UnimplementedObjectServer) StreamListObject(
+ *payload.Object_List_Request, Object_StreamListObjectServer,
+) error {
return status.Errorf(codes.Unimplemented, "method StreamListObject not implemented")
}
-func (UnimplementedObjectServer) GetTimestamp(context.Context, *payload.Object_TimestampRequest) (*payload.Object_Timestamp, error) {
+
+func (UnimplementedObjectServer) GetTimestamp(
+ context.Context, *payload.Object_TimestampRequest,
+) (*payload.Object_Timestamp, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetTimestamp not implemented")
}
func (UnimplementedObjectServer) mustEmbedUnimplementedObjectServer() {}
@@ -188,7 +222,9 @@ func RegisterObjectServer(s grpc.ServiceRegistrar, srv ObjectServer) {
s.RegisterService(&Object_ServiceDesc, srv)
}
-func _Object_Exists_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Object_Exists_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Object_ID)
if err := dec(in); err != nil {
return nil, err
@@ -206,7 +242,9 @@ func _Object_Exists_Handler(srv any, ctx context.Context, dec func(any) error, i
return interceptor(ctx, in, info, handler)
}
-func _Object_GetObject_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Object_GetObject_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Object_VectorRequest)
if err := dec(in); err != nil {
return nil, err
@@ -271,7 +309,9 @@ func (x *objectStreamListObjectServer) Send(m *payload.Object_List_Response) err
return x.ServerStream.SendMsg(m)
}
-func _Object_GetTimestamp_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Object_GetTimestamp_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Object_TimestampRequest)
if err := dec(in); err != nil {
return nil, err
diff --git a/apis/grpc/v1/vald/remove.pb.go b/apis/grpc/v1/vald/remove.pb.go
index 484cde0d224..cf58d5f1eb6 100644
--- a/apis/grpc/v1/vald/remove.pb.go
+++ b/apis/grpc/v1/vald/remove.pb.go
@@ -23,11 +23,12 @@
package vald
import (
+ reflect "reflect"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -87,6 +88,7 @@ var file_v1_vald_remove_proto_goTypes = []any{
(*payload.Object_Locations)(nil), // 4: payload.v1.Object.Locations
(*payload.Object_StreamLocation)(nil), // 5: payload.v1.Object.StreamLocation
}
+
var file_v1_vald_remove_proto_depIdxs = []int32{
0, // 0: vald.v1.Remove.Remove:input_type -> payload.v1.Remove.Request
1, // 1: vald.v1.Remove.RemoveByTimestamp:input_type -> payload.v1.Remove.TimestampRequest
diff --git a/apis/grpc/v1/vald/remove_vtproto.pb.go b/apis/grpc/v1/vald/remove_vtproto.pb.go
index 87864c0a74f..68219d9faa2 100644
--- a/apis/grpc/v1/vald/remove_vtproto.pb.go
+++ b/apis/grpc/v1/vald/remove_vtproto.pb.go
@@ -1,15 +1,28 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/vald/remove.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package vald
import (
context "context"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
- grpc "google.golang.org/grpc"
codes "github.com/vdaas/vald/internal/net/grpc/codes"
status "github.com/vdaas/vald/internal/net/grpc/status"
+ grpc "google.golang.org/grpc"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
@@ -47,7 +60,9 @@ func NewRemoveClient(cc grpc.ClientConnInterface) RemoveClient {
return &removeClient{cc}
}
-func (c *removeClient) Remove(ctx context.Context, in *payload.Remove_Request, opts ...grpc.CallOption) (*payload.Object_Location, error) {
+func (c *removeClient) Remove(
+ ctx context.Context, in *payload.Remove_Request, opts ...grpc.CallOption,
+) (*payload.Object_Location, error) {
out := new(payload.Object_Location)
err := c.cc.Invoke(ctx, "/vald.v1.Remove/Remove", in, out, opts...)
if err != nil {
@@ -56,7 +71,9 @@ func (c *removeClient) Remove(ctx context.Context, in *payload.Remove_Request, o
return out, nil
}
-func (c *removeClient) RemoveByTimestamp(ctx context.Context, in *payload.Remove_TimestampRequest, opts ...grpc.CallOption) (*payload.Object_Locations, error) {
+func (c *removeClient) RemoveByTimestamp(
+ ctx context.Context, in *payload.Remove_TimestampRequest, opts ...grpc.CallOption,
+) (*payload.Object_Locations, error) {
out := new(payload.Object_Locations)
err := c.cc.Invoke(ctx, "/vald.v1.Remove/RemoveByTimestamp", in, out, opts...)
if err != nil {
@@ -65,7 +82,9 @@ func (c *removeClient) RemoveByTimestamp(ctx context.Context, in *payload.Remove
return out, nil
}
-func (c *removeClient) StreamRemove(ctx context.Context, opts ...grpc.CallOption) (Remove_StreamRemoveClient, error) {
+func (c *removeClient) StreamRemove(
+ ctx context.Context, opts ...grpc.CallOption,
+) (Remove_StreamRemoveClient, error) {
stream, err := c.cc.NewStream(ctx, &Remove_ServiceDesc.Streams[0], "/vald.v1.Remove/StreamRemove", opts...)
if err != nil {
return nil, err
@@ -96,7 +115,9 @@ func (x *removeStreamRemoveClient) Recv() (*payload.Object_StreamLocation, error
return m, nil
}
-func (c *removeClient) MultiRemove(ctx context.Context, in *payload.Remove_MultiRequest, opts ...grpc.CallOption) (*payload.Object_Locations, error) {
+func (c *removeClient) MultiRemove(
+ ctx context.Context, in *payload.Remove_MultiRequest, opts ...grpc.CallOption,
+) (*payload.Object_Locations, error) {
out := new(payload.Object_Locations)
err := c.cc.Invoke(ctx, "/vald.v1.Remove/MultiRemove", in, out, opts...)
if err != nil {
@@ -121,19 +142,27 @@ type RemoveServer interface {
}
// UnimplementedRemoveServer must be embedded to have forward compatible implementations.
-type UnimplementedRemoveServer struct {
-}
+type UnimplementedRemoveServer struct{}
-func (UnimplementedRemoveServer) Remove(context.Context, *payload.Remove_Request) (*payload.Object_Location, error) {
+func (UnimplementedRemoveServer) Remove(
+ context.Context, *payload.Remove_Request,
+) (*payload.Object_Location, error) {
return nil, status.Errorf(codes.Unimplemented, "method Remove not implemented")
}
-func (UnimplementedRemoveServer) RemoveByTimestamp(context.Context, *payload.Remove_TimestampRequest) (*payload.Object_Locations, error) {
+
+func (UnimplementedRemoveServer) RemoveByTimestamp(
+ context.Context, *payload.Remove_TimestampRequest,
+) (*payload.Object_Locations, error) {
return nil, status.Errorf(codes.Unimplemented, "method RemoveByTimestamp not implemented")
}
+
func (UnimplementedRemoveServer) StreamRemove(Remove_StreamRemoveServer) error {
return status.Errorf(codes.Unimplemented, "method StreamRemove not implemented")
}
-func (UnimplementedRemoveServer) MultiRemove(context.Context, *payload.Remove_MultiRequest) (*payload.Object_Locations, error) {
+
+func (UnimplementedRemoveServer) MultiRemove(
+ context.Context, *payload.Remove_MultiRequest,
+) (*payload.Object_Locations, error) {
return nil, status.Errorf(codes.Unimplemented, "method MultiRemove not implemented")
}
func (UnimplementedRemoveServer) mustEmbedUnimplementedRemoveServer() {}
@@ -149,7 +178,9 @@ func RegisterRemoveServer(s grpc.ServiceRegistrar, srv RemoveServer) {
s.RegisterService(&Remove_ServiceDesc, srv)
}
-func _Remove_Remove_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Remove_Remove_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Remove_Request)
if err := dec(in); err != nil {
return nil, err
@@ -167,7 +198,9 @@ func _Remove_Remove_Handler(srv any, ctx context.Context, dec func(any) error, i
return interceptor(ctx, in, info, handler)
}
-func _Remove_RemoveByTimestamp_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Remove_RemoveByTimestamp_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Remove_TimestampRequest)
if err := dec(in); err != nil {
return nil, err
@@ -211,7 +244,9 @@ func (x *removeStreamRemoveServer) Recv() (*payload.Remove_Request, error) {
return m, nil
}
-func _Remove_MultiRemove_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Remove_MultiRemove_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Remove_MultiRequest)
if err := dec(in); err != nil {
return nil, err
diff --git a/apis/grpc/v1/vald/search.pb.go b/apis/grpc/v1/vald/search.pb.go
index e3f5041bca9..2577281aa7c 100644
--- a/apis/grpc/v1/vald/search.pb.go
+++ b/apis/grpc/v1/vald/search.pb.go
@@ -23,11 +23,12 @@
package vald
import (
+ reflect "reflect"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -140,6 +141,7 @@ var file_v1_vald_search_proto_goTypes = []any{
(*payload.Search_StreamResponse)(nil), // 5: payload.v1.Search.StreamResponse
(*payload.Search_Responses)(nil), // 6: payload.v1.Search.Responses
}
+
var file_v1_vald_search_proto_depIdxs = []int32{
0, // 0: vald.v1.Search.Search:input_type -> payload.v1.Search.Request
1, // 1: vald.v1.Search.SearchByID:input_type -> payload.v1.Search.IDRequest
diff --git a/apis/grpc/v1/vald/search_vtproto.pb.go b/apis/grpc/v1/vald/search_vtproto.pb.go
index a20242b891d..bf69c0fbba4 100644
--- a/apis/grpc/v1/vald/search_vtproto.pb.go
+++ b/apis/grpc/v1/vald/search_vtproto.pb.go
@@ -1,15 +1,28 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/vald/search.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package vald
import (
context "context"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
- grpc "google.golang.org/grpc"
codes "github.com/vdaas/vald/internal/net/grpc/codes"
status "github.com/vdaas/vald/internal/net/grpc/status"
+ grpc "google.golang.org/grpc"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
@@ -65,7 +78,9 @@ func NewSearchClient(cc grpc.ClientConnInterface) SearchClient {
return &searchClient{cc}
}
-func (c *searchClient) Search(ctx context.Context, in *payload.Search_Request, opts ...grpc.CallOption) (*payload.Search_Response, error) {
+func (c *searchClient) Search(
+ ctx context.Context, in *payload.Search_Request, opts ...grpc.CallOption,
+) (*payload.Search_Response, error) {
out := new(payload.Search_Response)
err := c.cc.Invoke(ctx, "/vald.v1.Search/Search", in, out, opts...)
if err != nil {
@@ -74,7 +89,9 @@ func (c *searchClient) Search(ctx context.Context, in *payload.Search_Request, o
return out, nil
}
-func (c *searchClient) SearchByID(ctx context.Context, in *payload.Search_IDRequest, opts ...grpc.CallOption) (*payload.Search_Response, error) {
+func (c *searchClient) SearchByID(
+ ctx context.Context, in *payload.Search_IDRequest, opts ...grpc.CallOption,
+) (*payload.Search_Response, error) {
out := new(payload.Search_Response)
err := c.cc.Invoke(ctx, "/vald.v1.Search/SearchByID", in, out, opts...)
if err != nil {
@@ -83,7 +100,9 @@ func (c *searchClient) SearchByID(ctx context.Context, in *payload.Search_IDRequ
return out, nil
}
-func (c *searchClient) StreamSearch(ctx context.Context, opts ...grpc.CallOption) (Search_StreamSearchClient, error) {
+func (c *searchClient) StreamSearch(
+ ctx context.Context, opts ...grpc.CallOption,
+) (Search_StreamSearchClient, error) {
stream, err := c.cc.NewStream(ctx, &Search_ServiceDesc.Streams[0], "/vald.v1.Search/StreamSearch", opts...)
if err != nil {
return nil, err
@@ -114,7 +133,9 @@ func (x *searchStreamSearchClient) Recv() (*payload.Search_StreamResponse, error
return m, nil
}
-func (c *searchClient) StreamSearchByID(ctx context.Context, opts ...grpc.CallOption) (Search_StreamSearchByIDClient, error) {
+func (c *searchClient) StreamSearchByID(
+ ctx context.Context, opts ...grpc.CallOption,
+) (Search_StreamSearchByIDClient, error) {
stream, err := c.cc.NewStream(ctx, &Search_ServiceDesc.Streams[1], "/vald.v1.Search/StreamSearchByID", opts...)
if err != nil {
return nil, err
@@ -145,7 +166,9 @@ func (x *searchStreamSearchByIDClient) Recv() (*payload.Search_StreamResponse, e
return m, nil
}
-func (c *searchClient) MultiSearch(ctx context.Context, in *payload.Search_MultiRequest, opts ...grpc.CallOption) (*payload.Search_Responses, error) {
+func (c *searchClient) MultiSearch(
+ ctx context.Context, in *payload.Search_MultiRequest, opts ...grpc.CallOption,
+) (*payload.Search_Responses, error) {
out := new(payload.Search_Responses)
err := c.cc.Invoke(ctx, "/vald.v1.Search/MultiSearch", in, out, opts...)
if err != nil {
@@ -154,7 +177,9 @@ func (c *searchClient) MultiSearch(ctx context.Context, in *payload.Search_Multi
return out, nil
}
-func (c *searchClient) MultiSearchByID(ctx context.Context, in *payload.Search_MultiIDRequest, opts ...grpc.CallOption) (*payload.Search_Responses, error) {
+func (c *searchClient) MultiSearchByID(
+ ctx context.Context, in *payload.Search_MultiIDRequest, opts ...grpc.CallOption,
+) (*payload.Search_Responses, error) {
out := new(payload.Search_Responses)
err := c.cc.Invoke(ctx, "/vald.v1.Search/MultiSearchByID", in, out, opts...)
if err != nil {
@@ -163,7 +188,9 @@ func (c *searchClient) MultiSearchByID(ctx context.Context, in *payload.Search_M
return out, nil
}
-func (c *searchClient) LinearSearch(ctx context.Context, in *payload.Search_Request, opts ...grpc.CallOption) (*payload.Search_Response, error) {
+func (c *searchClient) LinearSearch(
+ ctx context.Context, in *payload.Search_Request, opts ...grpc.CallOption,
+) (*payload.Search_Response, error) {
out := new(payload.Search_Response)
err := c.cc.Invoke(ctx, "/vald.v1.Search/LinearSearch", in, out, opts...)
if err != nil {
@@ -172,7 +199,9 @@ func (c *searchClient) LinearSearch(ctx context.Context, in *payload.Search_Requ
return out, nil
}
-func (c *searchClient) LinearSearchByID(ctx context.Context, in *payload.Search_IDRequest, opts ...grpc.CallOption) (*payload.Search_Response, error) {
+func (c *searchClient) LinearSearchByID(
+ ctx context.Context, in *payload.Search_IDRequest, opts ...grpc.CallOption,
+) (*payload.Search_Response, error) {
out := new(payload.Search_Response)
err := c.cc.Invoke(ctx, "/vald.v1.Search/LinearSearchByID", in, out, opts...)
if err != nil {
@@ -181,7 +210,9 @@ func (c *searchClient) LinearSearchByID(ctx context.Context, in *payload.Search_
return out, nil
}
-func (c *searchClient) StreamLinearSearch(ctx context.Context, opts ...grpc.CallOption) (Search_StreamLinearSearchClient, error) {
+func (c *searchClient) StreamLinearSearch(
+ ctx context.Context, opts ...grpc.CallOption,
+) (Search_StreamLinearSearchClient, error) {
stream, err := c.cc.NewStream(ctx, &Search_ServiceDesc.Streams[2], "/vald.v1.Search/StreamLinearSearch", opts...)
if err != nil {
return nil, err
@@ -212,7 +243,9 @@ func (x *searchStreamLinearSearchClient) Recv() (*payload.Search_StreamResponse,
return m, nil
}
-func (c *searchClient) StreamLinearSearchByID(ctx context.Context, opts ...grpc.CallOption) (Search_StreamLinearSearchByIDClient, error) {
+func (c *searchClient) StreamLinearSearchByID(
+ ctx context.Context, opts ...grpc.CallOption,
+) (Search_StreamLinearSearchByIDClient, error) {
stream, err := c.cc.NewStream(ctx, &Search_ServiceDesc.Streams[3], "/vald.v1.Search/StreamLinearSearchByID", opts...)
if err != nil {
return nil, err
@@ -243,7 +276,9 @@ func (x *searchStreamLinearSearchByIDClient) Recv() (*payload.Search_StreamRespo
return m, nil
}
-func (c *searchClient) MultiLinearSearch(ctx context.Context, in *payload.Search_MultiRequest, opts ...grpc.CallOption) (*payload.Search_Responses, error) {
+func (c *searchClient) MultiLinearSearch(
+ ctx context.Context, in *payload.Search_MultiRequest, opts ...grpc.CallOption,
+) (*payload.Search_Responses, error) {
out := new(payload.Search_Responses)
err := c.cc.Invoke(ctx, "/vald.v1.Search/MultiLinearSearch", in, out, opts...)
if err != nil {
@@ -252,7 +287,9 @@ func (c *searchClient) MultiLinearSearch(ctx context.Context, in *payload.Search
return out, nil
}
-func (c *searchClient) MultiLinearSearchByID(ctx context.Context, in *payload.Search_MultiIDRequest, opts ...grpc.CallOption) (*payload.Search_Responses, error) {
+func (c *searchClient) MultiLinearSearchByID(
+ ctx context.Context, in *payload.Search_MultiIDRequest, opts ...grpc.CallOption,
+) (*payload.Search_Responses, error) {
out := new(payload.Search_Responses)
err := c.cc.Invoke(ctx, "/vald.v1.Search/MultiLinearSearchByID", in, out, opts...)
if err != nil {
@@ -295,43 +332,69 @@ type SearchServer interface {
}
// UnimplementedSearchServer must be embedded to have forward compatible implementations.
-type UnimplementedSearchServer struct {
-}
+type UnimplementedSearchServer struct{}
-func (UnimplementedSearchServer) Search(context.Context, *payload.Search_Request) (*payload.Search_Response, error) {
+func (UnimplementedSearchServer) Search(
+ context.Context, *payload.Search_Request,
+) (*payload.Search_Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Search not implemented")
}
-func (UnimplementedSearchServer) SearchByID(context.Context, *payload.Search_IDRequest) (*payload.Search_Response, error) {
+
+func (UnimplementedSearchServer) SearchByID(
+ context.Context, *payload.Search_IDRequest,
+) (*payload.Search_Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method SearchByID not implemented")
}
+
func (UnimplementedSearchServer) StreamSearch(Search_StreamSearchServer) error {
return status.Errorf(codes.Unimplemented, "method StreamSearch not implemented")
}
+
func (UnimplementedSearchServer) StreamSearchByID(Search_StreamSearchByIDServer) error {
return status.Errorf(codes.Unimplemented, "method StreamSearchByID not implemented")
}
-func (UnimplementedSearchServer) MultiSearch(context.Context, *payload.Search_MultiRequest) (*payload.Search_Responses, error) {
+
+func (UnimplementedSearchServer) MultiSearch(
+ context.Context, *payload.Search_MultiRequest,
+) (*payload.Search_Responses, error) {
return nil, status.Errorf(codes.Unimplemented, "method MultiSearch not implemented")
}
-func (UnimplementedSearchServer) MultiSearchByID(context.Context, *payload.Search_MultiIDRequest) (*payload.Search_Responses, error) {
+
+func (UnimplementedSearchServer) MultiSearchByID(
+ context.Context, *payload.Search_MultiIDRequest,
+) (*payload.Search_Responses, error) {
return nil, status.Errorf(codes.Unimplemented, "method MultiSearchByID not implemented")
}
-func (UnimplementedSearchServer) LinearSearch(context.Context, *payload.Search_Request) (*payload.Search_Response, error) {
+
+func (UnimplementedSearchServer) LinearSearch(
+ context.Context, *payload.Search_Request,
+) (*payload.Search_Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method LinearSearch not implemented")
}
-func (UnimplementedSearchServer) LinearSearchByID(context.Context, *payload.Search_IDRequest) (*payload.Search_Response, error) {
+
+func (UnimplementedSearchServer) LinearSearchByID(
+ context.Context, *payload.Search_IDRequest,
+) (*payload.Search_Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method LinearSearchByID not implemented")
}
+
func (UnimplementedSearchServer) StreamLinearSearch(Search_StreamLinearSearchServer) error {
return status.Errorf(codes.Unimplemented, "method StreamLinearSearch not implemented")
}
+
func (UnimplementedSearchServer) StreamLinearSearchByID(Search_StreamLinearSearchByIDServer) error {
return status.Errorf(codes.Unimplemented, "method StreamLinearSearchByID not implemented")
}
-func (UnimplementedSearchServer) MultiLinearSearch(context.Context, *payload.Search_MultiRequest) (*payload.Search_Responses, error) {
+
+func (UnimplementedSearchServer) MultiLinearSearch(
+ context.Context, *payload.Search_MultiRequest,
+) (*payload.Search_Responses, error) {
return nil, status.Errorf(codes.Unimplemented, "method MultiLinearSearch not implemented")
}
-func (UnimplementedSearchServer) MultiLinearSearchByID(context.Context, *payload.Search_MultiIDRequest) (*payload.Search_Responses, error) {
+
+func (UnimplementedSearchServer) MultiLinearSearchByID(
+ context.Context, *payload.Search_MultiIDRequest,
+) (*payload.Search_Responses, error) {
return nil, status.Errorf(codes.Unimplemented, "method MultiLinearSearchByID not implemented")
}
func (UnimplementedSearchServer) mustEmbedUnimplementedSearchServer() {}
@@ -347,7 +410,9 @@ func RegisterSearchServer(s grpc.ServiceRegistrar, srv SearchServer) {
s.RegisterService(&Search_ServiceDesc, srv)
}
-func _Search_Search_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Search_Search_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Search_Request)
if err := dec(in); err != nil {
return nil, err
@@ -365,7 +430,9 @@ func _Search_Search_Handler(srv any, ctx context.Context, dec func(any) error, i
return interceptor(ctx, in, info, handler)
}
-func _Search_SearchByID_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Search_SearchByID_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Search_IDRequest)
if err := dec(in); err != nil {
return nil, err
@@ -435,7 +502,9 @@ func (x *searchStreamSearchByIDServer) Recv() (*payload.Search_IDRequest, error)
return m, nil
}
-func _Search_MultiSearch_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Search_MultiSearch_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Search_MultiRequest)
if err := dec(in); err != nil {
return nil, err
@@ -453,7 +522,9 @@ func _Search_MultiSearch_Handler(srv any, ctx context.Context, dec func(any) err
return interceptor(ctx, in, info, handler)
}
-func _Search_MultiSearchByID_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Search_MultiSearchByID_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Search_MultiIDRequest)
if err := dec(in); err != nil {
return nil, err
@@ -471,7 +542,9 @@ func _Search_MultiSearchByID_Handler(srv any, ctx context.Context, dec func(any)
return interceptor(ctx, in, info, handler)
}
-func _Search_LinearSearch_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Search_LinearSearch_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Search_Request)
if err := dec(in); err != nil {
return nil, err
@@ -489,7 +562,9 @@ func _Search_LinearSearch_Handler(srv any, ctx context.Context, dec func(any) er
return interceptor(ctx, in, info, handler)
}
-func _Search_LinearSearchByID_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Search_LinearSearchByID_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Search_IDRequest)
if err := dec(in); err != nil {
return nil, err
@@ -559,7 +634,9 @@ func (x *searchStreamLinearSearchByIDServer) Recv() (*payload.Search_IDRequest,
return m, nil
}
-func _Search_MultiLinearSearch_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Search_MultiLinearSearch_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Search_MultiRequest)
if err := dec(in); err != nil {
return nil, err
@@ -577,7 +654,9 @@ func _Search_MultiLinearSearch_Handler(srv any, ctx context.Context, dec func(an
return interceptor(ctx, in, info, handler)
}
-func _Search_MultiLinearSearchByID_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Search_MultiLinearSearchByID_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Search_MultiIDRequest)
if err := dec(in); err != nil {
return nil, err
diff --git a/apis/grpc/v1/vald/update.pb.go b/apis/grpc/v1/vald/update.pb.go
index 8a03dc36124..ad05fbe50c7 100644
--- a/apis/grpc/v1/vald/update.pb.go
+++ b/apis/grpc/v1/vald/update.pb.go
@@ -23,11 +23,12 @@
package vald
import (
+ reflect "reflect"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -79,6 +80,7 @@ var file_v1_vald_update_proto_goTypes = []any{
(*payload.Object_StreamLocation)(nil), // 3: payload.v1.Object.StreamLocation
(*payload.Object_Locations)(nil), // 4: payload.v1.Object.Locations
}
+
var file_v1_vald_update_proto_depIdxs = []int32{
0, // 0: vald.v1.Update.Update:input_type -> payload.v1.Update.Request
0, // 1: vald.v1.Update.StreamUpdate:input_type -> payload.v1.Update.Request
diff --git a/apis/grpc/v1/vald/update_vtproto.pb.go b/apis/grpc/v1/vald/update_vtproto.pb.go
index 5624ff1c722..60f92fd0a80 100644
--- a/apis/grpc/v1/vald/update_vtproto.pb.go
+++ b/apis/grpc/v1/vald/update_vtproto.pb.go
@@ -1,15 +1,28 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/vald/update.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package vald
import (
context "context"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
- grpc "google.golang.org/grpc"
codes "github.com/vdaas/vald/internal/net/grpc/codes"
status "github.com/vdaas/vald/internal/net/grpc/status"
+ grpc "google.golang.org/grpc"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
@@ -45,7 +58,9 @@ func NewUpdateClient(cc grpc.ClientConnInterface) UpdateClient {
return &updateClient{cc}
}
-func (c *updateClient) Update(ctx context.Context, in *payload.Update_Request, opts ...grpc.CallOption) (*payload.Object_Location, error) {
+func (c *updateClient) Update(
+ ctx context.Context, in *payload.Update_Request, opts ...grpc.CallOption,
+) (*payload.Object_Location, error) {
out := new(payload.Object_Location)
err := c.cc.Invoke(ctx, "/vald.v1.Update/Update", in, out, opts...)
if err != nil {
@@ -54,7 +69,9 @@ func (c *updateClient) Update(ctx context.Context, in *payload.Update_Request, o
return out, nil
}
-func (c *updateClient) StreamUpdate(ctx context.Context, opts ...grpc.CallOption) (Update_StreamUpdateClient, error) {
+func (c *updateClient) StreamUpdate(
+ ctx context.Context, opts ...grpc.CallOption,
+) (Update_StreamUpdateClient, error) {
stream, err := c.cc.NewStream(ctx, &Update_ServiceDesc.Streams[0], "/vald.v1.Update/StreamUpdate", opts...)
if err != nil {
return nil, err
@@ -85,7 +102,9 @@ func (x *updateStreamUpdateClient) Recv() (*payload.Object_StreamLocation, error
return m, nil
}
-func (c *updateClient) MultiUpdate(ctx context.Context, in *payload.Update_MultiRequest, opts ...grpc.CallOption) (*payload.Object_Locations, error) {
+func (c *updateClient) MultiUpdate(
+ ctx context.Context, in *payload.Update_MultiRequest, opts ...grpc.CallOption,
+) (*payload.Object_Locations, error) {
out := new(payload.Object_Locations)
err := c.cc.Invoke(ctx, "/vald.v1.Update/MultiUpdate", in, out, opts...)
if err != nil {
@@ -108,16 +127,21 @@ type UpdateServer interface {
}
// UnimplementedUpdateServer must be embedded to have forward compatible implementations.
-type UnimplementedUpdateServer struct {
-}
+type UnimplementedUpdateServer struct{}
-func (UnimplementedUpdateServer) Update(context.Context, *payload.Update_Request) (*payload.Object_Location, error) {
+func (UnimplementedUpdateServer) Update(
+ context.Context, *payload.Update_Request,
+) (*payload.Object_Location, error) {
return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
}
+
func (UnimplementedUpdateServer) StreamUpdate(Update_StreamUpdateServer) error {
return status.Errorf(codes.Unimplemented, "method StreamUpdate not implemented")
}
-func (UnimplementedUpdateServer) MultiUpdate(context.Context, *payload.Update_MultiRequest) (*payload.Object_Locations, error) {
+
+func (UnimplementedUpdateServer) MultiUpdate(
+ context.Context, *payload.Update_MultiRequest,
+) (*payload.Object_Locations, error) {
return nil, status.Errorf(codes.Unimplemented, "method MultiUpdate not implemented")
}
func (UnimplementedUpdateServer) mustEmbedUnimplementedUpdateServer() {}
@@ -133,7 +157,9 @@ func RegisterUpdateServer(s grpc.ServiceRegistrar, srv UpdateServer) {
s.RegisterService(&Update_ServiceDesc, srv)
}
-func _Update_Update_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Update_Update_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Update_Request)
if err := dec(in); err != nil {
return nil, err
@@ -177,7 +203,9 @@ func (x *updateStreamUpdateServer) Recv() (*payload.Update_Request, error) {
return m, nil
}
-func _Update_MultiUpdate_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Update_MultiUpdate_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Update_MultiRequest)
if err := dec(in); err != nil {
return nil, err
diff --git a/apis/grpc/v1/vald/upsert.pb.go b/apis/grpc/v1/vald/upsert.pb.go
index f0655def9f9..3c1a741dc1e 100644
--- a/apis/grpc/v1/vald/upsert.pb.go
+++ b/apis/grpc/v1/vald/upsert.pb.go
@@ -23,11 +23,12 @@
package vald
import (
+ reflect "reflect"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
)
const (
@@ -79,6 +80,7 @@ var file_v1_vald_upsert_proto_goTypes = []any{
(*payload.Object_StreamLocation)(nil), // 3: payload.v1.Object.StreamLocation
(*payload.Object_Locations)(nil), // 4: payload.v1.Object.Locations
}
+
var file_v1_vald_upsert_proto_depIdxs = []int32{
0, // 0: vald.v1.Upsert.Upsert:input_type -> payload.v1.Upsert.Request
0, // 1: vald.v1.Upsert.StreamUpsert:input_type -> payload.v1.Upsert.Request
diff --git a/apis/grpc/v1/vald/upsert_vtproto.pb.go b/apis/grpc/v1/vald/upsert_vtproto.pb.go
index 0d2456664c0..1a28a9461a0 100644
--- a/apis/grpc/v1/vald/upsert_vtproto.pb.go
+++ b/apis/grpc/v1/vald/upsert_vtproto.pb.go
@@ -1,15 +1,28 @@
-// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
-// protoc-gen-go-vtproto version: v0.6.0
-// source: v1/vald/upsert.proto
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
package vald
import (
context "context"
+
payload "github.com/vdaas/vald/apis/grpc/v1/payload"
- grpc "google.golang.org/grpc"
codes "github.com/vdaas/vald/internal/net/grpc/codes"
status "github.com/vdaas/vald/internal/net/grpc/status"
+ grpc "google.golang.org/grpc"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
@@ -45,7 +58,9 @@ func NewUpsertClient(cc grpc.ClientConnInterface) UpsertClient {
return &upsertClient{cc}
}
-func (c *upsertClient) Upsert(ctx context.Context, in *payload.Upsert_Request, opts ...grpc.CallOption) (*payload.Object_Location, error) {
+func (c *upsertClient) Upsert(
+ ctx context.Context, in *payload.Upsert_Request, opts ...grpc.CallOption,
+) (*payload.Object_Location, error) {
out := new(payload.Object_Location)
err := c.cc.Invoke(ctx, "/vald.v1.Upsert/Upsert", in, out, opts...)
if err != nil {
@@ -54,7 +69,9 @@ func (c *upsertClient) Upsert(ctx context.Context, in *payload.Upsert_Request, o
return out, nil
}
-func (c *upsertClient) StreamUpsert(ctx context.Context, opts ...grpc.CallOption) (Upsert_StreamUpsertClient, error) {
+func (c *upsertClient) StreamUpsert(
+ ctx context.Context, opts ...grpc.CallOption,
+) (Upsert_StreamUpsertClient, error) {
stream, err := c.cc.NewStream(ctx, &Upsert_ServiceDesc.Streams[0], "/vald.v1.Upsert/StreamUpsert", opts...)
if err != nil {
return nil, err
@@ -85,7 +102,9 @@ func (x *upsertStreamUpsertClient) Recv() (*payload.Object_StreamLocation, error
return m, nil
}
-func (c *upsertClient) MultiUpsert(ctx context.Context, in *payload.Upsert_MultiRequest, opts ...grpc.CallOption) (*payload.Object_Locations, error) {
+func (c *upsertClient) MultiUpsert(
+ ctx context.Context, in *payload.Upsert_MultiRequest, opts ...grpc.CallOption,
+) (*payload.Object_Locations, error) {
out := new(payload.Object_Locations)
err := c.cc.Invoke(ctx, "/vald.v1.Upsert/MultiUpsert", in, out, opts...)
if err != nil {
@@ -108,16 +127,21 @@ type UpsertServer interface {
}
// UnimplementedUpsertServer must be embedded to have forward compatible implementations.
-type UnimplementedUpsertServer struct {
-}
+type UnimplementedUpsertServer struct{}
-func (UnimplementedUpsertServer) Upsert(context.Context, *payload.Upsert_Request) (*payload.Object_Location, error) {
+func (UnimplementedUpsertServer) Upsert(
+ context.Context, *payload.Upsert_Request,
+) (*payload.Object_Location, error) {
return nil, status.Errorf(codes.Unimplemented, "method Upsert not implemented")
}
+
func (UnimplementedUpsertServer) StreamUpsert(Upsert_StreamUpsertServer) error {
return status.Errorf(codes.Unimplemented, "method StreamUpsert not implemented")
}
-func (UnimplementedUpsertServer) MultiUpsert(context.Context, *payload.Upsert_MultiRequest) (*payload.Object_Locations, error) {
+
+func (UnimplementedUpsertServer) MultiUpsert(
+ context.Context, *payload.Upsert_MultiRequest,
+) (*payload.Object_Locations, error) {
return nil, status.Errorf(codes.Unimplemented, "method MultiUpsert not implemented")
}
func (UnimplementedUpsertServer) mustEmbedUnimplementedUpsertServer() {}
@@ -133,7 +157,9 @@ func RegisterUpsertServer(s grpc.ServiceRegistrar, srv UpsertServer) {
s.RegisterService(&Upsert_ServiceDesc, srv)
}
-func _Upsert_Upsert_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Upsert_Upsert_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Upsert_Request)
if err := dec(in); err != nil {
return nil, err
@@ -177,7 +203,9 @@ func (x *upsertStreamUpsertServer) Recv() (*payload.Upsert_Request, error) {
return m, nil
}
-func _Upsert_MultiUpsert_Handler(srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor) (any, error) {
+func _Upsert_MultiUpsert_Handler(
+ srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
+) (any, error) {
in := new(payload.Upsert_MultiRequest)
if err := dec(in); err != nil {
return nil, err
diff --git a/apis/swagger/v1/agent/core/agent.swagger.json b/apis/swagger/v1/agent/core/agent.swagger.json
index 348f6104a93..2abce5f2220 100644
--- a/apis/swagger/v1/agent/core/agent.swagger.json
+++ b/apis/swagger/v1/agent/core/agent.swagger.json
@@ -9,12 +9,8 @@
"name": "Agent"
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {
"/index/create/{poolSize}": {
"get": {
@@ -44,9 +40,7 @@
"format": "int64"
}
],
- "tags": [
- "Agent"
- ]
+ "tags": ["Agent"]
}
},
"/index/createandsave/{poolSize}": {
@@ -77,9 +71,7 @@
"format": "int64"
}
],
- "tags": [
- "Agent"
- ]
+ "tags": ["Agent"]
}
},
"/index/save": {
@@ -100,9 +92,7 @@
}
}
},
- "tags": [
- "Agent"
- ]
+ "tags": ["Agent"]
}
}
},
diff --git a/apis/swagger/v1/agent/sidecar/sidecar.swagger.json b/apis/swagger/v1/agent/sidecar/sidecar.swagger.json
index 44f053bf424..c3f84e0170b 100644
--- a/apis/swagger/v1/agent/sidecar/sidecar.swagger.json
+++ b/apis/swagger/v1/agent/sidecar/sidecar.swagger.json
@@ -4,12 +4,8 @@
"title": "v1/agent/sidecar/sidecar.proto",
"version": "version not set"
},
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {},
"definitions": {
"protobufAny": {
diff --git a/apis/swagger/v1/discoverer/discoverer.swagger.json b/apis/swagger/v1/discoverer/discoverer.swagger.json
index 7f07c1682f4..915d82ab716 100644
--- a/apis/swagger/v1/discoverer/discoverer.swagger.json
+++ b/apis/swagger/v1/discoverer/discoverer.swagger.json
@@ -9,12 +9,8 @@
"name": "Discoverer"
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {
"/discover/nodes": {
"post": {
@@ -45,9 +41,7 @@
}
}
],
- "tags": [
- "Discoverer"
- ]
+ "tags": ["Discoverer"]
}
},
"/discover/pods": {
@@ -79,9 +73,7 @@
}
}
],
- "tags": [
- "Discoverer"
- ]
+ "tags": ["Discoverer"]
}
},
"/discover/services": {
@@ -113,9 +105,7 @@
}
}
],
- "tags": [
- "Discoverer"
- ]
+ "tags": ["Discoverer"]
}
}
},
diff --git a/apis/swagger/v1/filter/egress/egress_filter.swagger.json b/apis/swagger/v1/filter/egress/egress_filter.swagger.json
index ba5c5308832..395887d8e28 100644
--- a/apis/swagger/v1/filter/egress/egress_filter.swagger.json
+++ b/apis/swagger/v1/filter/egress/egress_filter.swagger.json
@@ -9,12 +9,8 @@
"name": "Filter"
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {
"/filter/egress/distance": {
"post": {
@@ -45,9 +41,7 @@
}
}
],
- "tags": [
- "Filter"
- ]
+ "tags": ["Filter"]
}
},
"/filter/egress/vector": {
@@ -79,9 +73,7 @@
}
}
],
- "tags": [
- "Filter"
- ]
+ "tags": ["Filter"]
}
}
},
diff --git a/apis/swagger/v1/filter/ingress/ingress_filter.swagger.json b/apis/swagger/v1/filter/ingress/ingress_filter.swagger.json
index f2246ac31eb..ae3504a56b8 100644
--- a/apis/swagger/v1/filter/ingress/ingress_filter.swagger.json
+++ b/apis/swagger/v1/filter/ingress/ingress_filter.swagger.json
@@ -9,12 +9,8 @@
"name": "Filter"
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {
"/filter/ingress/object": {
"post": {
@@ -45,9 +41,7 @@
}
}
],
- "tags": [
- "Filter"
- ]
+ "tags": ["Filter"]
}
},
"/filter/ingress/vector": {
@@ -79,9 +73,7 @@
}
}
],
- "tags": [
- "Filter"
- ]
+ "tags": ["Filter"]
}
}
},
diff --git a/apis/swagger/v1/meta/meta.swagger.json b/apis/swagger/v1/meta/meta.swagger.json
index 57d0b45d02e..8e4abca7150 100644
--- a/apis/swagger/v1/meta/meta.swagger.json
+++ b/apis/swagger/v1/meta/meta.swagger.json
@@ -9,12 +9,8 @@
"name": "Meta"
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {
"/meta": {
"post": {
@@ -43,9 +39,7 @@
}
}
],
- "tags": [
- "Meta"
- ]
+ "tags": ["Meta"]
}
},
"/meta/{key}": {
@@ -73,9 +67,7 @@
"type": "string"
}
],
- "tags": [
- "Meta"
- ]
+ "tags": ["Meta"]
},
"delete": {
"operationId": "Meta_Delete",
@@ -101,9 +93,7 @@
"type": "string"
}
],
- "tags": [
- "Meta"
- ]
+ "tags": ["Meta"]
}
}
},
diff --git a/apis/swagger/v1/mirror/mirror.swagger.json b/apis/swagger/v1/mirror/mirror.swagger.json
index b6e9f730f43..8c2fea2bb48 100644
--- a/apis/swagger/v1/mirror/mirror.swagger.json
+++ b/apis/swagger/v1/mirror/mirror.swagger.json
@@ -9,12 +9,8 @@
"name": "Mirror"
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {
"/mirror/register": {
"post": {
@@ -45,9 +41,7 @@
}
}
],
- "tags": [
- "Mirror"
- ]
+ "tags": ["Mirror"]
}
}
},
diff --git a/apis/swagger/v1/payload/payload.swagger.json b/apis/swagger/v1/payload/payload.swagger.json
index 4ffae36b594..345c401edd1 100644
--- a/apis/swagger/v1/payload/payload.swagger.json
+++ b/apis/swagger/v1/payload/payload.swagger.json
@@ -4,12 +4,8 @@
"title": "v1/payload/payload.proto",
"version": "version not set"
},
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {},
"definitions": {
"protobufAny": {
diff --git a/apis/swagger/v1/rpc/errdetails/error_details.swagger.json b/apis/swagger/v1/rpc/errdetails/error_details.swagger.json
index 584f874c3ce..50d969b8717 100644
--- a/apis/swagger/v1/rpc/errdetails/error_details.swagger.json
+++ b/apis/swagger/v1/rpc/errdetails/error_details.swagger.json
@@ -4,12 +4,8 @@
"title": "v1/rpc/errdetails/error_details.proto",
"version": "version not set"
},
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {},
"definitions": {
"protobufAny": {
diff --git a/apis/swagger/v1/vald/filter.swagger.json b/apis/swagger/v1/vald/filter.swagger.json
index ed04c8a5322..ddf4c886eb7 100644
--- a/apis/swagger/v1/vald/filter.swagger.json
+++ b/apis/swagger/v1/vald/filter.swagger.json
@@ -9,12 +9,8 @@
"name": "Filter"
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {
"/insert/object": {
"post": {
@@ -45,9 +41,7 @@
}
}
],
- "tags": [
- "Filter"
- ]
+ "tags": ["Filter"]
}
},
"/insert/object/multiple": {
@@ -79,9 +73,7 @@
}
}
],
- "tags": [
- "Filter"
- ]
+ "tags": ["Filter"]
}
},
"/search/object": {
@@ -113,9 +105,7 @@
}
}
],
- "tags": [
- "Filter"
- ]
+ "tags": ["Filter"]
}
},
"/search/object/multiple": {
@@ -147,9 +137,7 @@
}
}
],
- "tags": [
- "Filter"
- ]
+ "tags": ["Filter"]
}
},
"/update/object": {
@@ -181,9 +169,7 @@
}
}
],
- "tags": [
- "Filter"
- ]
+ "tags": ["Filter"]
}
},
"/update/object/multiple": {
@@ -215,9 +201,7 @@
}
}
],
- "tags": [
- "Filter"
- ]
+ "tags": ["Filter"]
}
},
"/upsert/object": {
@@ -249,9 +233,7 @@
}
}
],
- "tags": [
- "Filter"
- ]
+ "tags": ["Filter"]
}
},
"/upsert/object/multiple": {
@@ -283,9 +265,7 @@
}
}
],
- "tags": [
- "Filter"
- ]
+ "tags": ["Filter"]
}
}
},
diff --git a/apis/swagger/v1/vald/flush.swagger.json b/apis/swagger/v1/vald/flush.swagger.json
index 7588fc4c369..a42ecf0c424 100644
--- a/apis/swagger/v1/vald/flush.swagger.json
+++ b/apis/swagger/v1/vald/flush.swagger.json
@@ -9,12 +9,8 @@
"name": "Flush"
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {
"/flush": {
"delete": {
@@ -34,9 +30,7 @@
}
}
},
- "tags": [
- "Flush"
- ]
+ "tags": ["Flush"]
}
}
},
diff --git a/apis/swagger/v1/vald/index.swagger.json b/apis/swagger/v1/vald/index.swagger.json
index 37aa4129d47..b8032366d55 100644
--- a/apis/swagger/v1/vald/index.swagger.json
+++ b/apis/swagger/v1/vald/index.swagger.json
@@ -9,12 +9,8 @@
"name": "Index"
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {
"/index/detail": {
"get": {
@@ -34,9 +30,7 @@
}
}
},
- "tags": [
- "Index"
- ]
+ "tags": ["Index"]
}
},
"/index/info": {
@@ -57,9 +51,7 @@
}
}
},
- "tags": [
- "Index"
- ]
+ "tags": ["Index"]
}
},
"/index/property": {
@@ -80,9 +72,7 @@
}
}
},
- "tags": [
- "Index"
- ]
+ "tags": ["Index"]
}
},
"/index/statistics": {
@@ -103,9 +93,7 @@
}
}
},
- "tags": [
- "Index"
- ]
+ "tags": ["Index"]
}
},
"/index/statistics/detail": {
@@ -126,9 +114,7 @@
}
}
},
- "tags": [
- "Index"
- ]
+ "tags": ["Index"]
}
}
},
diff --git a/apis/swagger/v1/vald/insert.swagger.json b/apis/swagger/v1/vald/insert.swagger.json
index 74346dc2c71..6b767193829 100644
--- a/apis/swagger/v1/vald/insert.swagger.json
+++ b/apis/swagger/v1/vald/insert.swagger.json
@@ -9,12 +9,8 @@
"name": "Insert"
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {
"/insert": {
"post": {
@@ -45,9 +41,7 @@
}
}
],
- "tags": [
- "Insert"
- ]
+ "tags": ["Insert"]
}
},
"/insert/multiple": {
@@ -79,9 +73,7 @@
}
}
],
- "tags": [
- "Insert"
- ]
+ "tags": ["Insert"]
}
}
},
diff --git a/apis/swagger/v1/vald/object.swagger.json b/apis/swagger/v1/vald/object.swagger.json
index b5f50062bc3..263808e6d35 100644
--- a/apis/swagger/v1/vald/object.swagger.json
+++ b/apis/swagger/v1/vald/object.swagger.json
@@ -9,12 +9,8 @@
"name": "Object"
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {
"/exists/{id}": {
"get": {
@@ -42,9 +38,7 @@
"type": "string"
}
],
- "tags": [
- "Object"
- ]
+ "tags": ["Object"]
}
},
"/object/list": {
@@ -74,9 +68,7 @@
}
}
},
- "tags": [
- "Object"
- ]
+ "tags": ["Object"]
}
},
"/object/meta/{id.id}": {
@@ -105,9 +97,7 @@
"type": "string"
}
],
- "tags": [
- "Object"
- ]
+ "tags": ["Object"]
}
},
"/object/{id.id}": {
@@ -136,9 +126,7 @@
"type": "string"
}
],
- "tags": [
- "Object"
- ]
+ "tags": ["Object"]
}
}
},
diff --git a/apis/swagger/v1/vald/remove.swagger.json b/apis/swagger/v1/vald/remove.swagger.json
index 0d986b78bec..34695978e56 100644
--- a/apis/swagger/v1/vald/remove.swagger.json
+++ b/apis/swagger/v1/vald/remove.swagger.json
@@ -9,12 +9,8 @@
"name": "Remove"
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {
"/remove": {
"post": {
@@ -45,9 +41,7 @@
}
}
],
- "tags": [
- "Remove"
- ]
+ "tags": ["Remove"]
}
},
"/remove/multiple": {
@@ -79,9 +73,7 @@
}
}
],
- "tags": [
- "Remove"
- ]
+ "tags": ["Remove"]
}
},
"/remove/timestamp": {
@@ -113,9 +105,7 @@
}
}
],
- "tags": [
- "Remove"
- ]
+ "tags": ["Remove"]
}
}
},
@@ -158,14 +148,7 @@
},
"TimestampOperator": {
"type": "string",
- "enum": [
- "Eq",
- "Ne",
- "Ge",
- "Gt",
- "Le",
- "Lt"
- ],
+ "enum": ["Eq", "Ne", "Ge", "Gt", "Le", "Lt"],
"default": "Eq",
"description": "Operator is enum of each conditional operator.\n\n - Eq: The timestamp is equal to the specified value in the request.\n - Ne: The timestamp is not equal to the specified value in the request.\n - Ge: The timestamp is greater than or equal to the specified value in the\nrequest.\n - Gt: The timestamp is greater than the specified value in the request.\n - Le: The timestamp is less than or equal to the specified value in the\nrequest.\n - Lt: The timestamp is less than the specified value in the request."
},
diff --git a/apis/swagger/v1/vald/search.swagger.json b/apis/swagger/v1/vald/search.swagger.json
index 6e4ea465316..cf23ad1f068 100644
--- a/apis/swagger/v1/vald/search.swagger.json
+++ b/apis/swagger/v1/vald/search.swagger.json
@@ -9,12 +9,8 @@
"name": "Search"
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {
"/linearsearch": {
"post": {
@@ -45,9 +41,7 @@
}
}
],
- "tags": [
- "Search"
- ]
+ "tags": ["Search"]
}
},
"/linearsearch/id": {
@@ -79,9 +73,7 @@
}
}
],
- "tags": [
- "Search"
- ]
+ "tags": ["Search"]
}
},
"/linearsearch/id/multiple": {
@@ -113,9 +105,7 @@
}
}
],
- "tags": [
- "Search"
- ]
+ "tags": ["Search"]
}
},
"/linearsearch/multiple": {
@@ -147,9 +137,7 @@
}
}
],
- "tags": [
- "Search"
- ]
+ "tags": ["Search"]
}
},
"/search": {
@@ -181,9 +169,7 @@
}
}
],
- "tags": [
- "Search"
- ]
+ "tags": ["Search"]
}
},
"/search/id": {
@@ -215,9 +201,7 @@
}
}
],
- "tags": [
- "Search"
- ]
+ "tags": ["Search"]
}
},
"/search/id/multiple": {
@@ -249,9 +233,7 @@
}
}
],
- "tags": [
- "Search"
- ]
+ "tags": ["Search"]
}
},
"/search/multiple": {
@@ -283,9 +265,7 @@
}
}
],
- "tags": [
- "Search"
- ]
+ "tags": ["Search"]
}
}
},
diff --git a/apis/swagger/v1/vald/update.swagger.json b/apis/swagger/v1/vald/update.swagger.json
index 1833136cf99..d295febc194 100644
--- a/apis/swagger/v1/vald/update.swagger.json
+++ b/apis/swagger/v1/vald/update.swagger.json
@@ -9,12 +9,8 @@
"name": "Update"
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {
"/update": {
"post": {
@@ -45,9 +41,7 @@
}
}
],
- "tags": [
- "Update"
- ]
+ "tags": ["Update"]
}
},
"/update/multiple": {
@@ -79,9 +73,7 @@
}
}
],
- "tags": [
- "Update"
- ]
+ "tags": ["Update"]
}
}
},
diff --git a/apis/swagger/v1/vald/upsert.swagger.json b/apis/swagger/v1/vald/upsert.swagger.json
index 3f652542baf..b36801bc746 100644
--- a/apis/swagger/v1/vald/upsert.swagger.json
+++ b/apis/swagger/v1/vald/upsert.swagger.json
@@ -9,12 +9,8 @@
"name": "Upsert"
}
],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
+ "consumes": ["application/json"],
+ "produces": ["application/json"],
"paths": {
"/upsert": {
"post": {
@@ -45,9 +41,7 @@
}
}
],
- "tags": [
- "Upsert"
- ]
+ "tags": ["Upsert"]
}
},
"/upsert/multiple": {
@@ -79,9 +73,7 @@
}
}
],
- "tags": [
- "Upsert"
- ]
+ "tags": ["Upsert"]
}
}
},
diff --git a/rust/Cargo.lock b/rust/Cargo.lock
index a41a430640b..98de4a6e99e 100644
--- a/rust/Cargo.lock
+++ b/rust/Cargo.lock
@@ -22,11 +22,11 @@ name = "agent"
version = "0.1.0"
dependencies = [
"algorithm",
- "prost 0.13.1",
+ "prost 0.13.2",
"proto",
"tokio",
"tokio-stream",
- "tonic 0.12.1",
+ "tonic 0.12.2",
]
[[package]]
@@ -289,9 +289,9 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]]
name = "cxx"
-version = "1.0.126"
+version = "1.0.128"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c4eae4b7fc8dcb0032eb3b1beee46b38d371cdeaf2d0c64b9944f6f69ad7755"
+checksum = "54ccead7d199d584d139148b04b4a368d1ec7556a1d9ea2548febb1b9d49f9a4"
dependencies = [
"cc",
"cxxbridge-flags",
@@ -301,9 +301,9 @@ dependencies = [
[[package]]
name = "cxx-build"
-version = "1.0.126"
+version = "1.0.128"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c822bf7fb755d97328d6c337120b6f843678178751cba33c9da25cf522272e0"
+checksum = "c77953e99f01508f89f55c494bfa867171ef3a6c8cea03d26975368f2121a5c1"
dependencies = [
"cc",
"codespan-reporting",
@@ -316,15 +316,15 @@ dependencies = [
[[package]]
name = "cxxbridge-flags"
-version = "1.0.126"
+version = "1.0.128"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "719d6197dc016c88744aff3c0d0340a01ecce12e8939fc282e7c8f583ee64bc6"
+checksum = "65777e06cc48f0cb0152024c77d6cf9e4bdb4408e7b48bea993d42fa0f5b02b6"
[[package]]
name = "cxxbridge-macro"
-version = "1.0.126"
+version = "1.0.128"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35de3b547387863c8f82013c4f79f1c2162edee956383e4089e1d04c18c4f16c"
+checksum = "98532a60dedaebc4848cb2cba5023337cc9ea3af16a5b062633fabfd9f18fb60"
dependencies = [
"proc-macro2",
"quote",
@@ -820,6 +820,15 @@ version = "2.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
+[[package]]
+name = "meta"
+version = "0.1.0"
+dependencies = [
+ "proto",
+ "tokio",
+ "tonic 0.12.2",
+]
+
[[package]]
name = "miette"
version = "7.2.0"
@@ -1129,12 +1138,12 @@ dependencies = [
[[package]]
name = "prost"
-version = "0.13.1"
+version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e13db3d3fde688c61e2446b4d843bc27a7e8af269a69440c0308021dc92333cc"
+checksum = "3b2ecbe40f08db5c006b5764a2645f7f3f141ce756412ac9e1dd6087e6d32995"
dependencies = [
"bytes",
- "prost-derive 0.13.1",
+ "prost-derive 0.13.2",
]
[[package]]
@@ -1152,9 +1161,9 @@ dependencies = [
[[package]]
name = "prost-derive"
-version = "0.13.1"
+version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "18bec9b0adc4eba778b33684b7ba3e7137789434769ee3ce3930463ef904cfca"
+checksum = "acf0c195eebb4af52c752bec4f52f645da98b6e92077a04110c7f349477ae5ac"
dependencies = [
"anyhow",
"itertools 0.13.0",
@@ -1165,11 +1174,11 @@ dependencies = [
[[package]]
name = "prost-types"
-version = "0.13.1"
+version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cee5168b05f49d4b0ca581206eb14a7b22fafd963efe729ac48eb03266e25cc2"
+checksum = "60caa6738c7369b940c3d49246a8d1749323674c65cb13010134f5c9bad5b519"
dependencies = [
- "prost 0.13.1",
+ "prost 0.13.2",
]
[[package]]
@@ -1177,8 +1186,9 @@ name = "proto"
version = "0.1.0"
dependencies = [
"futures-core",
- "prost 0.13.1",
- "tonic 0.12.1",
+ "prost 0.13.2",
+ "prost-types",
+ "tonic 0.12.2",
"tonic-types",
]
@@ -1274,9 +1284,9 @@ checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
[[package]]
name = "rustix"
-version = "0.38.34"
+version = "0.38.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f"
+checksum = "3f55e80d50763938498dd5ebb18647174e0c76dc38c5505294bb224624f30f36"
dependencies = [
"bitflags 2.6.0",
"errno",
@@ -1401,9 +1411,9 @@ dependencies = [
[[package]]
name = "supports-color"
-version = "3.0.0"
+version = "3.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9829b314621dfc575df4e409e79f9d6a66a3bd707ab73f23cb4aa3a854ac854f"
+checksum = "8775305acf21c96926c900ad056abeef436701108518cf890020387236ac5a77"
dependencies = [
"is_ci",
]
@@ -1531,9 +1541,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokio"
-version = "1.39.3"
+version = "1.40.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9babc99b9923bfa4804bd74722ff02c0381021eafa4db9949217e3be8e84fff5"
+checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998"
dependencies = [
"backtrace",
"bytes",
@@ -1622,9 +1632,9 @@ dependencies = [
[[package]]
name = "tonic"
-version = "0.12.1"
+version = "0.12.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38659f4a91aba8598d27821589f5db7dddd94601e7a01b1e485a50e5484c7401"
+checksum = "c6f6ba989e4b2c58ae83d862d3a3e27690b6e3ae630d0deb59f3697f32aa88ad"
dependencies = [
"async-stream",
"async-trait",
@@ -1640,7 +1650,7 @@ dependencies = [
"hyper-util",
"percent-encoding",
"pin-project",
- "prost 0.13.1",
+ "prost 0.13.2",
"socket2",
"tokio",
"tokio-stream",
@@ -1656,9 +1666,9 @@ version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5563899ec5aa5f0ec48e37457461ffbbc184c9a0f413f715dacd154f46408a10"
dependencies = [
- "prost 0.13.1",
+ "prost 0.13.2",
"prost-types",
- "tonic 0.12.1",
+ "tonic 0.12.2",
]
[[package]]
@@ -1872,7 +1882,7 @@ version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
dependencies = [
- "windows-sys 0.59.0",
+ "windows-sys 0.52.0",
]
[[package]]
@@ -1893,15 +1903,6 @@ dependencies = [
"windows-targets 0.52.6",
]
-[[package]]
-name = "windows-sys"
-version = "0.59.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
-dependencies = [
- "windows-targets 0.52.6",
-]
-
[[package]]
name = "windows-targets"
version = "0.48.5"
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index 7ab97dd32b6..924c8a24d65 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -17,6 +17,7 @@
members = [
"libs/observability",
"libs/proto",
+ "bin/meta",
"bin/agent",
"libs/algorithm",
"libs/algorithms/ngt",
diff --git a/rust/bin/meta/Cargo.toml b/rust/bin/meta/Cargo.toml
new file mode 100644
index 00000000000..62e4cad2104
--- /dev/null
+++ b/rust/bin/meta/Cargo.toml
@@ -0,0 +1,24 @@
+#
+# Copyright (C) 2019-2024 vdaas.org vald team
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# You may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+[package]
+name = "meta"
+version = "0.1.0"
+edition = "2021"
+
+[dependencies]
+proto = { version = "0.1.0", path = "../../libs/proto" }
+tokio = { version = "1.40.0", features = ["full"] }
+tonic = "0.12.2"
diff --git a/rust/bin/meta/src/handler.rs b/rust/bin/meta/src/handler.rs
new file mode 100644
index 00000000000..60a5f21a33a
--- /dev/null
+++ b/rust/bin/meta/src/handler.rs
@@ -0,0 +1,21 @@
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+mod meta;
+
+#[derive(Default, Debug)]
+pub struct Meta {
+
+}
diff --git a/rust/bin/meta/src/handler/meta.rs b/rust/bin/meta/src/handler/meta.rs
new file mode 100644
index 00000000000..8e5dfa58087
--- /dev/null
+++ b/rust/bin/meta/src/handler/meta.rs
@@ -0,0 +1,40 @@
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+use proto::{meta::v1::meta_server, payload::v1::{meta, Empty}};
+
+#[tonic::async_trait]
+impl meta_server::Meta for super::Meta {
+ async fn get(
+ &self,
+ request: tonic::Request,
+ ) -> std::result::Result, tonic::Status> {
+ todo!()
+ }
+ async fn set(
+ &self,
+ request: tonic::Request,
+ ) -> std::result::Result, tonic::Status> {
+ todo!()
+ }
+
+ async fn delete(
+ &self,
+ request: tonic::Request,
+ ) -> std::result::Result, tonic::Status> {
+ todo!()
+ }
+}
diff --git a/rust/bin/meta/src/main.rs b/rust/bin/meta/src/main.rs
new file mode 100644
index 00000000000..aaa0a706cb4
--- /dev/null
+++ b/rust/bin/meta/src/main.rs
@@ -0,0 +1,30 @@
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+mod handler;
+
+#[tokio::main]
+async fn main() -> Result<(), Box> {
+ let addr = "[::1]:8081".parse()?;
+ let meta = handler::Meta::default();
+
+ tonic::transport::Server::builder()
+ .add_service(proto::meta::v1::meta_server::MetaServer::new(meta))
+ .serve(addr)
+ .await?;
+
+ Ok(())
+}
diff --git a/rust/libs/proto/Cargo.toml b/rust/libs/proto/Cargo.toml
index 12a488941d6..56505cf1bde 100644
--- a/rust/libs/proto/Cargo.toml
+++ b/rust/libs/proto/Cargo.toml
@@ -23,5 +23,6 @@ edition = "2021"
[dependencies]
futures-core = "0.3.30"
prost = "0.13.1"
+prost-types = "0.13.2"
tonic = "0.12.1"
tonic-types = "0.12.1"
diff --git a/rust/libs/proto/src/core.v1.rs b/rust/libs/proto/src/core.v1.rs
deleted file mode 100644
index 8e2ac1beb99..00000000000
--- a/rust/libs/proto/src/core.v1.rs
+++ /dev/null
@@ -1,2 +0,0 @@
-// @generated
-// @@protoc_insertion_point(module)
diff --git a/rust/libs/proto/src/core.v1.tonic.rs b/rust/libs/proto/src/core.v1.tonic.rs
index 7a6ad21416f..f19cd43034e 100644
--- a/rust/libs/proto/src/core.v1.tonic.rs
+++ b/rust/libs/proto/src/core.v1.tonic.rs
@@ -1,5 +1,18 @@
-// @generated
-/// Generated client implementations.
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
pub mod agent_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
diff --git a/rust/libs/proto/src/discoverer.v1.rs b/rust/libs/proto/src/discoverer.v1.rs
deleted file mode 100644
index 8e2ac1beb99..00000000000
--- a/rust/libs/proto/src/discoverer.v1.rs
+++ /dev/null
@@ -1,2 +0,0 @@
-// @generated
-// @@protoc_insertion_point(module)
diff --git a/rust/libs/proto/src/discoverer.v1.tonic.rs b/rust/libs/proto/src/discoverer.v1.tonic.rs
index b1f9c263436..e1ca78c88a6 100644
--- a/rust/libs/proto/src/discoverer.v1.tonic.rs
+++ b/rust/libs/proto/src/discoverer.v1.tonic.rs
@@ -1,5 +1,18 @@
-// @generated
-/// Generated client implementations.
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
pub mod discoverer_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
diff --git a/rust/libs/proto/src/filter.egress.v1.rs b/rust/libs/proto/src/filter.egress.v1.rs
deleted file mode 100644
index 8e2ac1beb99..00000000000
--- a/rust/libs/proto/src/filter.egress.v1.rs
+++ /dev/null
@@ -1,2 +0,0 @@
-// @generated
-// @@protoc_insertion_point(module)
diff --git a/rust/libs/proto/src/filter.egress.v1.tonic.rs b/rust/libs/proto/src/filter.egress.v1.tonic.rs
index 49398de2560..74102173ce1 100644
--- a/rust/libs/proto/src/filter.egress.v1.tonic.rs
+++ b/rust/libs/proto/src/filter.egress.v1.tonic.rs
@@ -1,5 +1,18 @@
-// @generated
-/// Generated client implementations.
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
pub mod filter_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
diff --git a/rust/libs/proto/src/filter.ingress.v1.rs b/rust/libs/proto/src/filter.ingress.v1.rs
deleted file mode 100644
index 8e2ac1beb99..00000000000
--- a/rust/libs/proto/src/filter.ingress.v1.rs
+++ /dev/null
@@ -1,2 +0,0 @@
-// @generated
-// @@protoc_insertion_point(module)
diff --git a/rust/libs/proto/src/filter.ingress.v1.tonic.rs b/rust/libs/proto/src/filter.ingress.v1.tonic.rs
index 6bd43254719..d8b462caa17 100644
--- a/rust/libs/proto/src/filter.ingress.v1.tonic.rs
+++ b/rust/libs/proto/src/filter.ingress.v1.tonic.rs
@@ -1,5 +1,18 @@
-// @generated
-/// Generated client implementations.
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
pub mod filter_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
diff --git a/rust/libs/proto/src/lib.rs b/rust/libs/proto/src/lib.rs
index b9b1d0bac08..7155b32bc7e 100644
--- a/rust/libs/proto/src/lib.rs
+++ b/rust/libs/proto/src/lib.rs
@@ -36,3 +36,9 @@ pub mod core {
include!("core.v1.tonic.rs");
}
}
+
+pub mod meta {
+ pub mod v1 {
+ include!("meta.v1.tonic.rs");
+ }
+}
diff --git a/rust/libs/proto/src/meta.v1.rs b/rust/libs/proto/src/meta.v1.rs
deleted file mode 100644
index 8e2ac1beb99..00000000000
--- a/rust/libs/proto/src/meta.v1.rs
+++ /dev/null
@@ -1,2 +0,0 @@
-// @generated
-// @@protoc_insertion_point(module)
diff --git a/rust/libs/proto/src/meta.v1.tonic.rs b/rust/libs/proto/src/meta.v1.tonic.rs
index 24eac776052..b683ff6440a 100644
--- a/rust/libs/proto/src/meta.v1.tonic.rs
+++ b/rust/libs/proto/src/meta.v1.tonic.rs
@@ -1,5 +1,18 @@
-// @generated
-/// Generated client implementations.
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
pub mod meta_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
diff --git a/rust/libs/proto/src/mirror.v1.rs b/rust/libs/proto/src/mirror.v1.rs
deleted file mode 100644
index 8e2ac1beb99..00000000000
--- a/rust/libs/proto/src/mirror.v1.rs
+++ /dev/null
@@ -1,2 +0,0 @@
-// @generated
-// @@protoc_insertion_point(module)
diff --git a/rust/libs/proto/src/mirror.v1.tonic.rs b/rust/libs/proto/src/mirror.v1.tonic.rs
index 07596240d8f..fb55727a628 100644
--- a/rust/libs/proto/src/mirror.v1.tonic.rs
+++ b/rust/libs/proto/src/mirror.v1.tonic.rs
@@ -1,5 +1,18 @@
-// @generated
-/// Generated client implementations.
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
pub mod mirror_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
diff --git a/rust/libs/proto/src/payload.v1.rs b/rust/libs/proto/src/payload.v1.rs
index a4d3ab4280f..5f8ec9eb030 100644
--- a/rust/libs/proto/src/payload.v1.rs
+++ b/rust/libs/proto/src/payload.v1.rs
@@ -1,6 +1,18 @@
-// @generated
-// This file is @generated by prost-build.
-/// Search related messages.
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Search {
diff --git a/rust/libs/proto/src/rpc.v1.rs b/rust/libs/proto/src/rpc.v1.rs
index 9706bd6260e..3b9abf8f8be 100644
--- a/rust/libs/proto/src/rpc.v1.rs
+++ b/rust/libs/proto/src/rpc.v1.rs
@@ -1,29 +1,18 @@
-// @generated
-// This file is @generated by prost-build.
-/// Describes the cause of the error with structured details.
-///
-/// Example of an error when contacting the "pubsub.googleapis.com" API when it
-/// is not enabled:
-///
-/// { "reason": "API_DISABLED"
-/// "domain": "googleapis.com"
-/// "metadata": {
-/// "resource": "projects/123",
-/// "service": "pubsub.googleapis.com"
-/// }
-/// }
-///
-/// This response indicates that the pubsub.googleapis.com API is not enabled.
-///
-/// Example of an error that is returned when attempting to create a Spanner
-/// instance in a region that is out of stock:
-///
-/// { "reason": "STOCKOUT"
-/// "domain": "spanner.googleapis.com",
-/// "metadata": {
-/// "availableRegions": "us-central1,us-east2"
-/// }
-/// }
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ErrorInfo {
diff --git a/rust/libs/proto/src/sidecar.v1.rs b/rust/libs/proto/src/sidecar.v1.rs
deleted file mode 100644
index 8e2ac1beb99..00000000000
--- a/rust/libs/proto/src/sidecar.v1.rs
+++ /dev/null
@@ -1,2 +0,0 @@
-// @generated
-// @@protoc_insertion_point(module)
diff --git a/rust/libs/proto/src/sidecar.v1.tonic.rs b/rust/libs/proto/src/sidecar.v1.tonic.rs
index 200569c28e3..ad7acdee150 100644
--- a/rust/libs/proto/src/sidecar.v1.tonic.rs
+++ b/rust/libs/proto/src/sidecar.v1.tonic.rs
@@ -1,5 +1,18 @@
-// @generated
-/// Generated client implementations.
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
pub mod sidecar_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
diff --git a/rust/libs/proto/src/vald.v1.rs b/rust/libs/proto/src/vald.v1.rs
deleted file mode 100644
index 8e2ac1beb99..00000000000
--- a/rust/libs/proto/src/vald.v1.rs
+++ /dev/null
@@ -1,2 +0,0 @@
-// @generated
-// @@protoc_insertion_point(module)
diff --git a/rust/libs/proto/src/vald.v1.tonic.rs b/rust/libs/proto/src/vald.v1.tonic.rs
index 141ee5f2957..4d287564507 100644
--- a/rust/libs/proto/src/vald.v1.tonic.rs
+++ b/rust/libs/proto/src/vald.v1.tonic.rs
@@ -1,5 +1,18 @@
-// @generated
-/// Generated client implementations.
+//
+// Copyright (C) 2019-2024 vdaas.org vald team
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// You may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
pub mod filter_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;