diff --git a/Makefile b/Makefile index 2f6ab3c..779b054 100755 --- a/Makefile +++ b/Makefile @@ -37,7 +37,6 @@ SHADOW_ROOT = vald PROTOS = \ v1/agent/core/agent.proto \ - v1/gateway/vald/vald.proto \ v1/vald/filter.proto \ v1/vald/insert.proto \ v1/vald/object.proto \ @@ -50,17 +49,15 @@ PROTOS := $(PROTOS:%=$(PROTO_ROOT)/%) SHADOWS = $(PROTOS:$(PROTO_ROOT)/%.proto=$(SHADOW_ROOT)/%.proto) PB2PYS = $(PROTOS:$(PROTO_ROOT)/%.proto=$(PB2DIR_ROOT)/$(SHADOW_ROOT)/%_pb2.py) PB2PY_VALIDATE = $(PB2DIR_ROOT)/validate/validate_pb2.py -PB2PY_GOGOPROTOS = $(PB2DIR_ROOT)/gogo/protobuf/gogoproto/gogo_pb2.py -PB2PY_GOGOAPIS = $(PB2DIR_ROOT)/gogo/googleapis/google/api/annotations_pb2.py -PB2PY_GOGORPCS = $(PB2DIR_ROOT)/gogo/googleapis/google/rpc/status_pb2.py +PB2PY_GOOGLEAPIS = $(PB2DIR_ROOT)/googleapis/googleapis/google/api/annotations_pb2.py +PB2PY_GOOGLERPCS = $(PB2DIR_ROOT)/googleapis/googleapis/google/rpc/status_pb2.py PROTO_PATHS = \ $(PWD) \ $(PWD)/$(VALD_DIR) \ $(PWD)/$(PROTO_ROOT) \ $(GOPATH)/src \ - $(GOPATH)/src/github.com/gogo/protobuf \ - $(GOPATH)/src/github.com/gogo/googleapis \ + $(GOPATH)/src/github.com/googleapis/googleapis \ $(GOPATH)/src/github.com/envoyproxy/protoc-gen-validate MAKELISTS = Makefile @@ -103,7 +100,7 @@ help: .PHONY: clean ## clean clean: - rm -rf $(PB2DIR_ROOT) + rm -rf $(PB2DIR_ROOT)/google $(PB2DIR_ROOT)/vald $(PB2DIR_ROOT)/validate rm -rf $(SHADOW_ROOT) rm -rf $(VALD_DIR) @@ -112,9 +109,8 @@ clean: proto: \ $(PB2PYS) \ $(PB2PY_VALIDATE) \ - $(PB2PY_GOGOPROTOS) \ - $(PB2PY_GOGOAPIS) \ - $(PB2PY_GOGORPCS) + $(PB2PY_GOOGLEAPIS) \ + $(PB2PY_GOOGLERPCS) $(PROTOS): $(VALD_DIR) $(SHADOWS): $(PROTOS) @@ -123,8 +119,6 @@ $(SHADOW_ROOT)/%.proto: $(PROTO_ROOT)/%.proto cp $< $@ sed -i -e 's:^import "apis/proto/:import "$(SHADOW_ROOT)/:' $@ sed -i -e 's:^import "github.com/envoyproxy/protoc-gen-validate/:import ":' $@ - sed -i -e 's:^import "github.com/gogo/protobuf/:import ":' $@ - sed -i -e 's:^import "github.com/gogo/googleapis/:import ":' $@ sed -i -e 's:^import "github.com/googleapis/googleapis/:import ":' $@ $(PB2DIR_ROOT): @@ -151,35 +145,24 @@ $(PB2PY_VALIDATE): $(GOPATH)/src/github.com/envoyproxy/protoc-gen-validate --grpc_python_out=$(PWD)/$(PB2DIR_ROOT) \ validate/validate.proto) -$(PB2PY_GOGOPROTOS): $(GOPATH)/src/github.com/gogo/protobuf +$(PB2PY_GOOGLEAPIS): $(GOPATH)/src/github.com/googleapis/googleapis @$(call green, "generating pb2.py files...") - (cd $(GOPATH)/src/github.com/gogo/protobuf; \ + (cd $(GOPATH)/src/github.com/googleapis/googleapis; \ $(PYTHON) \ -m grpc_tools.protoc \ $(PROTO_PATHS:%=-I %) \ - -I $(GOPATH)/src/github.com/gogo/protobuf \ - --python_out=$(PWD)/$(PB2DIR_ROOT) \ - --grpc_python_out=$(PWD)/$(PB2DIR_ROOT) \ - gogoproto/gogo.proto) - -$(PB2PY_GOGOAPIS): $(GOPATH)/src/github.com/gogo/googleapis - @$(call green, "generating pb2.py files...") - (cd $(GOPATH)/src/github.com/gogo/googleapis; \ - $(PYTHON) \ - -m grpc_tools.protoc \ - $(PROTO_PATHS:%=-I %) \ - -I $(GOPATH)/src/github.com/gogo/googleapis \ + -I $(GOPATH)/src/github.com/googleapis/googleapis \ --python_out=$(PWD)/$(PB2DIR_ROOT) \ --grpc_python_out=$(PWD)/$(PB2DIR_ROOT) \ google/api/annotations.proto) -$(PB2PY_GOGORPCS): $(GOPATH)/src/github.com/gogo/googleapis +$(PB2PY_GOOGLERPCS): $(GOPATH)/src/github.com/googleapis/googleapis @$(call green, "generating pb2.py files...") - (cd $(GOPATH)/src/github.com/gogo/googleapis; \ + (cd $(GOPATH)/src/github.com/googleapis/googleapis; \ $(PYTHON) \ -m grpc_tools.protoc \ $(PROTO_PATHS:%=-I %) \ - -I $(GOPATH)/src/github.com/gogo/googleapis \ + -I $(GOPATH)/src/github.com/googleapis/googleapis \ --python_out=$(PWD)/$(PB2DIR_ROOT) \ --grpc_python_out=$(PWD)/$(PB2DIR_ROOT) \ google/rpc/status.proto) @@ -228,21 +211,14 @@ vald/client/python/version/update: vald .PHONY: proto/deps ## install proto deps proto/deps: \ - $(GOPATH)/src/github.com/gogo/protobuf \ - $(GOPATH)/src/github.com/gogo/googleapis \ + $(GOPATH)/src/github.com/googleapis/googleapis \ $(GOPATH)/src/github.com/envoyproxy/protoc-gen-validate -$(GOPATH)/src/github.com/gogo/protobuf: - git clone \ - --depth 1 \ - https://github.com/gogo/protobuf \ - $(GOPATH)/src/github.com/gogo/protobuf - -$(GOPATH)/src/github.com/gogo/googleapis: +$(GOPATH)/src/github.com/googleapis/googleapis: git clone \ --depth 1 \ - https://github.com/gogo/googleapis \ - $(GOPATH)/src/github.com/gogo/googleapis + https://github.com/googleapis/googleapis \ + $(GOPATH)/src/github.com/googleapis/googleapis $(GOPATH)/src/github.com/envoyproxy/protoc-gen-validate: git clone \ diff --git a/src/gogoproto/gogo_pb2.py b/src/gogoproto/gogo_pb2.py deleted file mode 100644 index fc3401c..0000000 --- a/src/gogoproto/gogo_pb2.py +++ /dev/null @@ -1,793 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: gogoproto/gogo.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='gogoproto/gogo.proto', - package='gogoproto', - syntax='proto2', - serialized_options=b'\n\023com.google.protobufB\nGoGoProtosZ\"github.com/gogo/protobuf/gogoproto', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x14gogoproto/gogo.proto\x12\tgogoproto\x1a google/protobuf/descriptor.proto:;\n\x13goproto_enum_prefix\x12\x1c.google.protobuf.EnumOptions\x18\xb1\xe4\x03 \x01(\x08:=\n\x15goproto_enum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc5\xe4\x03 \x01(\x08:5\n\renum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc6\xe4\x03 \x01(\x08:7\n\x0f\x65num_customname\x12\x1c.google.protobuf.EnumOptions\x18\xc7\xe4\x03 \x01(\t:0\n\x08\x65numdecl\x12\x1c.google.protobuf.EnumOptions\x18\xc8\xe4\x03 \x01(\x08:A\n\x14\x65numvalue_customname\x12!.google.protobuf.EnumValueOptions\x18\xd1\x83\x04 \x01(\t:;\n\x13goproto_getters_all\x12\x1c.google.protobuf.FileOptions\x18\x99\xec\x03 \x01(\x08:?\n\x17goproto_enum_prefix_all\x12\x1c.google.protobuf.FileOptions\x18\x9a\xec\x03 \x01(\x08:<\n\x14goproto_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\x9b\xec\x03 \x01(\x08:9\n\x11verbose_equal_all\x12\x1c.google.protobuf.FileOptions\x18\x9c\xec\x03 \x01(\x08:0\n\x08\x66\x61\x63\x65_all\x12\x1c.google.protobuf.FileOptions\x18\x9d\xec\x03 \x01(\x08:4\n\x0cgostring_all\x12\x1c.google.protobuf.FileOptions\x18\x9e\xec\x03 \x01(\x08:4\n\x0cpopulate_all\x12\x1c.google.protobuf.FileOptions\x18\x9f\xec\x03 \x01(\x08:4\n\x0cstringer_all\x12\x1c.google.protobuf.FileOptions\x18\xa0\xec\x03 \x01(\x08:3\n\x0bonlyone_all\x12\x1c.google.protobuf.FileOptions\x18\xa1\xec\x03 \x01(\x08:1\n\tequal_all\x12\x1c.google.protobuf.FileOptions\x18\xa5\xec\x03 \x01(\x08:7\n\x0f\x64\x65scription_all\x12\x1c.google.protobuf.FileOptions\x18\xa6\xec\x03 \x01(\x08:3\n\x0btestgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa7\xec\x03 \x01(\x08:4\n\x0c\x62\x65nchgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa8\xec\x03 \x01(\x08:5\n\rmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xa9\xec\x03 \x01(\x08:7\n\x0funmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaa\xec\x03 \x01(\x08:<\n\x14stable_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xab\xec\x03 \x01(\x08:1\n\tsizer_all\x12\x1c.google.protobuf.FileOptions\x18\xac\xec\x03 \x01(\x08:A\n\x19goproto_enum_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xad\xec\x03 \x01(\x08:9\n\x11\x65num_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xae\xec\x03 \x01(\x08:<\n\x14unsafe_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaf\xec\x03 \x01(\x08:>\n\x16unsafe_unmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xb0\xec\x03 \x01(\x08:B\n\x1agoproto_extensions_map_all\x12\x1c.google.protobuf.FileOptions\x18\xb1\xec\x03 \x01(\x08:@\n\x18goproto_unrecognized_all\x12\x1c.google.protobuf.FileOptions\x18\xb2\xec\x03 \x01(\x08:8\n\x10gogoproto_import\x12\x1c.google.protobuf.FileOptions\x18\xb3\xec\x03 \x01(\x08:6\n\x0eprotosizer_all\x12\x1c.google.protobuf.FileOptions\x18\xb4\xec\x03 \x01(\x08:3\n\x0b\x63ompare_all\x12\x1c.google.protobuf.FileOptions\x18\xb5\xec\x03 \x01(\x08:4\n\x0ctypedecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb6\xec\x03 \x01(\x08:4\n\x0c\x65numdecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb7\xec\x03 \x01(\x08:<\n\x14goproto_registration\x12\x1c.google.protobuf.FileOptions\x18\xb8\xec\x03 \x01(\x08:7\n\x0fmessagename_all\x12\x1c.google.protobuf.FileOptions\x18\xb9\xec\x03 \x01(\x08:=\n\x15goproto_sizecache_all\x12\x1c.google.protobuf.FileOptions\x18\xba\xec\x03 \x01(\x08:;\n\x13goproto_unkeyed_all\x12\x1c.google.protobuf.FileOptions\x18\xbb\xec\x03 \x01(\x08::\n\x0fgoproto_getters\x12\x1f.google.protobuf.MessageOptions\x18\x81\xf4\x03 \x01(\x08:;\n\x10goproto_stringer\x12\x1f.google.protobuf.MessageOptions\x18\x83\xf4\x03 \x01(\x08:8\n\rverbose_equal\x12\x1f.google.protobuf.MessageOptions\x18\x84\xf4\x03 \x01(\x08:/\n\x04\x66\x61\x63\x65\x12\x1f.google.protobuf.MessageOptions\x18\x85\xf4\x03 \x01(\x08:3\n\x08gostring\x12\x1f.google.protobuf.MessageOptions\x18\x86\xf4\x03 \x01(\x08:3\n\x08populate\x12\x1f.google.protobuf.MessageOptions\x18\x87\xf4\x03 \x01(\x08:3\n\x08stringer\x12\x1f.google.protobuf.MessageOptions\x18\xc0\x8b\x04 \x01(\x08:2\n\x07onlyone\x12\x1f.google.protobuf.MessageOptions\x18\x89\xf4\x03 \x01(\x08:0\n\x05\x65qual\x12\x1f.google.protobuf.MessageOptions\x18\x8d\xf4\x03 \x01(\x08:6\n\x0b\x64\x65scription\x12\x1f.google.protobuf.MessageOptions\x18\x8e\xf4\x03 \x01(\x08:2\n\x07testgen\x12\x1f.google.protobuf.MessageOptions\x18\x8f\xf4\x03 \x01(\x08:3\n\x08\x62\x65nchgen\x12\x1f.google.protobuf.MessageOptions\x18\x90\xf4\x03 \x01(\x08:4\n\tmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x91\xf4\x03 \x01(\x08:6\n\x0bunmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x92\xf4\x03 \x01(\x08:;\n\x10stable_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x93\xf4\x03 \x01(\x08:0\n\x05sizer\x12\x1f.google.protobuf.MessageOptions\x18\x94\xf4\x03 \x01(\x08:;\n\x10unsafe_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x97\xf4\x03 \x01(\x08:=\n\x12unsafe_unmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x98\xf4\x03 \x01(\x08:A\n\x16goproto_extensions_map\x12\x1f.google.protobuf.MessageOptions\x18\x99\xf4\x03 \x01(\x08:?\n\x14goproto_unrecognized\x12\x1f.google.protobuf.MessageOptions\x18\x9a\xf4\x03 \x01(\x08:5\n\nprotosizer\x12\x1f.google.protobuf.MessageOptions\x18\x9c\xf4\x03 \x01(\x08:2\n\x07\x63ompare\x12\x1f.google.protobuf.MessageOptions\x18\x9d\xf4\x03 \x01(\x08:3\n\x08typedecl\x12\x1f.google.protobuf.MessageOptions\x18\x9e\xf4\x03 \x01(\x08:6\n\x0bmessagename\x12\x1f.google.protobuf.MessageOptions\x18\xa1\xf4\x03 \x01(\x08:<\n\x11goproto_sizecache\x12\x1f.google.protobuf.MessageOptions\x18\xa2\xf4\x03 \x01(\x08::\n\x0fgoproto_unkeyed\x12\x1f.google.protobuf.MessageOptions\x18\xa3\xf4\x03 \x01(\x08:1\n\x08nullable\x12\x1d.google.protobuf.FieldOptions\x18\xe9\xfb\x03 \x01(\x08:.\n\x05\x65mbed\x12\x1d.google.protobuf.FieldOptions\x18\xea\xfb\x03 \x01(\x08:3\n\ncustomtype\x12\x1d.google.protobuf.FieldOptions\x18\xeb\xfb\x03 \x01(\t:3\n\ncustomname\x12\x1d.google.protobuf.FieldOptions\x18\xec\xfb\x03 \x01(\t:0\n\x07jsontag\x12\x1d.google.protobuf.FieldOptions\x18\xed\xfb\x03 \x01(\t:1\n\x08moretags\x12\x1d.google.protobuf.FieldOptions\x18\xee\xfb\x03 \x01(\t:1\n\x08\x63\x61sttype\x12\x1d.google.protobuf.FieldOptions\x18\xef\xfb\x03 \x01(\t:0\n\x07\x63\x61stkey\x12\x1d.google.protobuf.FieldOptions\x18\xf0\xfb\x03 \x01(\t:2\n\tcastvalue\x12\x1d.google.protobuf.FieldOptions\x18\xf1\xfb\x03 \x01(\t:0\n\x07stdtime\x12\x1d.google.protobuf.FieldOptions\x18\xf2\xfb\x03 \x01(\x08:4\n\x0bstdduration\x12\x1d.google.protobuf.FieldOptions\x18\xf3\xfb\x03 \x01(\x08:3\n\nwktpointer\x12\x1d.google.protobuf.FieldOptions\x18\xf4\xfb\x03 \x01(\x08\x42\x45\n\x13\x63om.google.protobufB\nGoGoProtosZ\"github.com/gogo/protobuf/gogoproto' - , - dependencies=[google_dot_protobuf_dot_descriptor__pb2.DESCRIPTOR,]) - - -GOPROTO_ENUM_PREFIX_FIELD_NUMBER = 62001 -goproto_enum_prefix = _descriptor.FieldDescriptor( - name='goproto_enum_prefix', full_name='gogoproto.goproto_enum_prefix', index=0, - number=62001, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_ENUM_STRINGER_FIELD_NUMBER = 62021 -goproto_enum_stringer = _descriptor.FieldDescriptor( - name='goproto_enum_stringer', full_name='gogoproto.goproto_enum_stringer', index=1, - number=62021, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -ENUM_STRINGER_FIELD_NUMBER = 62022 -enum_stringer = _descriptor.FieldDescriptor( - name='enum_stringer', full_name='gogoproto.enum_stringer', index=2, - number=62022, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -ENUM_CUSTOMNAME_FIELD_NUMBER = 62023 -enum_customname = _descriptor.FieldDescriptor( - name='enum_customname', full_name='gogoproto.enum_customname', index=3, - number=62023, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -ENUMDECL_FIELD_NUMBER = 62024 -enumdecl = _descriptor.FieldDescriptor( - name='enumdecl', full_name='gogoproto.enumdecl', index=4, - number=62024, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -ENUMVALUE_CUSTOMNAME_FIELD_NUMBER = 66001 -enumvalue_customname = _descriptor.FieldDescriptor( - name='enumvalue_customname', full_name='gogoproto.enumvalue_customname', index=5, - number=66001, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_GETTERS_ALL_FIELD_NUMBER = 63001 -goproto_getters_all = _descriptor.FieldDescriptor( - name='goproto_getters_all', full_name='gogoproto.goproto_getters_all', index=6, - number=63001, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_ENUM_PREFIX_ALL_FIELD_NUMBER = 63002 -goproto_enum_prefix_all = _descriptor.FieldDescriptor( - name='goproto_enum_prefix_all', full_name='gogoproto.goproto_enum_prefix_all', index=7, - number=63002, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_STRINGER_ALL_FIELD_NUMBER = 63003 -goproto_stringer_all = _descriptor.FieldDescriptor( - name='goproto_stringer_all', full_name='gogoproto.goproto_stringer_all', index=8, - number=63003, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -VERBOSE_EQUAL_ALL_FIELD_NUMBER = 63004 -verbose_equal_all = _descriptor.FieldDescriptor( - name='verbose_equal_all', full_name='gogoproto.verbose_equal_all', index=9, - number=63004, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -FACE_ALL_FIELD_NUMBER = 63005 -face_all = _descriptor.FieldDescriptor( - name='face_all', full_name='gogoproto.face_all', index=10, - number=63005, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOSTRING_ALL_FIELD_NUMBER = 63006 -gostring_all = _descriptor.FieldDescriptor( - name='gostring_all', full_name='gogoproto.gostring_all', index=11, - number=63006, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -POPULATE_ALL_FIELD_NUMBER = 63007 -populate_all = _descriptor.FieldDescriptor( - name='populate_all', full_name='gogoproto.populate_all', index=12, - number=63007, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -STRINGER_ALL_FIELD_NUMBER = 63008 -stringer_all = _descriptor.FieldDescriptor( - name='stringer_all', full_name='gogoproto.stringer_all', index=13, - number=63008, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -ONLYONE_ALL_FIELD_NUMBER = 63009 -onlyone_all = _descriptor.FieldDescriptor( - name='onlyone_all', full_name='gogoproto.onlyone_all', index=14, - number=63009, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -EQUAL_ALL_FIELD_NUMBER = 63013 -equal_all = _descriptor.FieldDescriptor( - name='equal_all', full_name='gogoproto.equal_all', index=15, - number=63013, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -DESCRIPTION_ALL_FIELD_NUMBER = 63014 -description_all = _descriptor.FieldDescriptor( - name='description_all', full_name='gogoproto.description_all', index=16, - number=63014, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -TESTGEN_ALL_FIELD_NUMBER = 63015 -testgen_all = _descriptor.FieldDescriptor( - name='testgen_all', full_name='gogoproto.testgen_all', index=17, - number=63015, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -BENCHGEN_ALL_FIELD_NUMBER = 63016 -benchgen_all = _descriptor.FieldDescriptor( - name='benchgen_all', full_name='gogoproto.benchgen_all', index=18, - number=63016, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -MARSHALER_ALL_FIELD_NUMBER = 63017 -marshaler_all = _descriptor.FieldDescriptor( - name='marshaler_all', full_name='gogoproto.marshaler_all', index=19, - number=63017, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -UNMARSHALER_ALL_FIELD_NUMBER = 63018 -unmarshaler_all = _descriptor.FieldDescriptor( - name='unmarshaler_all', full_name='gogoproto.unmarshaler_all', index=20, - number=63018, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -STABLE_MARSHALER_ALL_FIELD_NUMBER = 63019 -stable_marshaler_all = _descriptor.FieldDescriptor( - name='stable_marshaler_all', full_name='gogoproto.stable_marshaler_all', index=21, - number=63019, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -SIZER_ALL_FIELD_NUMBER = 63020 -sizer_all = _descriptor.FieldDescriptor( - name='sizer_all', full_name='gogoproto.sizer_all', index=22, - number=63020, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_ENUM_STRINGER_ALL_FIELD_NUMBER = 63021 -goproto_enum_stringer_all = _descriptor.FieldDescriptor( - name='goproto_enum_stringer_all', full_name='gogoproto.goproto_enum_stringer_all', index=23, - number=63021, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -ENUM_STRINGER_ALL_FIELD_NUMBER = 63022 -enum_stringer_all = _descriptor.FieldDescriptor( - name='enum_stringer_all', full_name='gogoproto.enum_stringer_all', index=24, - number=63022, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -UNSAFE_MARSHALER_ALL_FIELD_NUMBER = 63023 -unsafe_marshaler_all = _descriptor.FieldDescriptor( - name='unsafe_marshaler_all', full_name='gogoproto.unsafe_marshaler_all', index=25, - number=63023, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -UNSAFE_UNMARSHALER_ALL_FIELD_NUMBER = 63024 -unsafe_unmarshaler_all = _descriptor.FieldDescriptor( - name='unsafe_unmarshaler_all', full_name='gogoproto.unsafe_unmarshaler_all', index=26, - number=63024, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_EXTENSIONS_MAP_ALL_FIELD_NUMBER = 63025 -goproto_extensions_map_all = _descriptor.FieldDescriptor( - name='goproto_extensions_map_all', full_name='gogoproto.goproto_extensions_map_all', index=27, - number=63025, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_UNRECOGNIZED_ALL_FIELD_NUMBER = 63026 -goproto_unrecognized_all = _descriptor.FieldDescriptor( - name='goproto_unrecognized_all', full_name='gogoproto.goproto_unrecognized_all', index=28, - number=63026, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOGOPROTO_IMPORT_FIELD_NUMBER = 63027 -gogoproto_import = _descriptor.FieldDescriptor( - name='gogoproto_import', full_name='gogoproto.gogoproto_import', index=29, - number=63027, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -PROTOSIZER_ALL_FIELD_NUMBER = 63028 -protosizer_all = _descriptor.FieldDescriptor( - name='protosizer_all', full_name='gogoproto.protosizer_all', index=30, - number=63028, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -COMPARE_ALL_FIELD_NUMBER = 63029 -compare_all = _descriptor.FieldDescriptor( - name='compare_all', full_name='gogoproto.compare_all', index=31, - number=63029, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -TYPEDECL_ALL_FIELD_NUMBER = 63030 -typedecl_all = _descriptor.FieldDescriptor( - name='typedecl_all', full_name='gogoproto.typedecl_all', index=32, - number=63030, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -ENUMDECL_ALL_FIELD_NUMBER = 63031 -enumdecl_all = _descriptor.FieldDescriptor( - name='enumdecl_all', full_name='gogoproto.enumdecl_all', index=33, - number=63031, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_REGISTRATION_FIELD_NUMBER = 63032 -goproto_registration = _descriptor.FieldDescriptor( - name='goproto_registration', full_name='gogoproto.goproto_registration', index=34, - number=63032, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -MESSAGENAME_ALL_FIELD_NUMBER = 63033 -messagename_all = _descriptor.FieldDescriptor( - name='messagename_all', full_name='gogoproto.messagename_all', index=35, - number=63033, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_SIZECACHE_ALL_FIELD_NUMBER = 63034 -goproto_sizecache_all = _descriptor.FieldDescriptor( - name='goproto_sizecache_all', full_name='gogoproto.goproto_sizecache_all', index=36, - number=63034, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_UNKEYED_ALL_FIELD_NUMBER = 63035 -goproto_unkeyed_all = _descriptor.FieldDescriptor( - name='goproto_unkeyed_all', full_name='gogoproto.goproto_unkeyed_all', index=37, - number=63035, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_GETTERS_FIELD_NUMBER = 64001 -goproto_getters = _descriptor.FieldDescriptor( - name='goproto_getters', full_name='gogoproto.goproto_getters', index=38, - number=64001, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_STRINGER_FIELD_NUMBER = 64003 -goproto_stringer = _descriptor.FieldDescriptor( - name='goproto_stringer', full_name='gogoproto.goproto_stringer', index=39, - number=64003, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -VERBOSE_EQUAL_FIELD_NUMBER = 64004 -verbose_equal = _descriptor.FieldDescriptor( - name='verbose_equal', full_name='gogoproto.verbose_equal', index=40, - number=64004, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -FACE_FIELD_NUMBER = 64005 -face = _descriptor.FieldDescriptor( - name='face', full_name='gogoproto.face', index=41, - number=64005, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOSTRING_FIELD_NUMBER = 64006 -gostring = _descriptor.FieldDescriptor( - name='gostring', full_name='gogoproto.gostring', index=42, - number=64006, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -POPULATE_FIELD_NUMBER = 64007 -populate = _descriptor.FieldDescriptor( - name='populate', full_name='gogoproto.populate', index=43, - number=64007, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -STRINGER_FIELD_NUMBER = 67008 -stringer = _descriptor.FieldDescriptor( - name='stringer', full_name='gogoproto.stringer', index=44, - number=67008, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -ONLYONE_FIELD_NUMBER = 64009 -onlyone = _descriptor.FieldDescriptor( - name='onlyone', full_name='gogoproto.onlyone', index=45, - number=64009, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -EQUAL_FIELD_NUMBER = 64013 -equal = _descriptor.FieldDescriptor( - name='equal', full_name='gogoproto.equal', index=46, - number=64013, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -DESCRIPTION_FIELD_NUMBER = 64014 -description = _descriptor.FieldDescriptor( - name='description', full_name='gogoproto.description', index=47, - number=64014, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -TESTGEN_FIELD_NUMBER = 64015 -testgen = _descriptor.FieldDescriptor( - name='testgen', full_name='gogoproto.testgen', index=48, - number=64015, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -BENCHGEN_FIELD_NUMBER = 64016 -benchgen = _descriptor.FieldDescriptor( - name='benchgen', full_name='gogoproto.benchgen', index=49, - number=64016, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -MARSHALER_FIELD_NUMBER = 64017 -marshaler = _descriptor.FieldDescriptor( - name='marshaler', full_name='gogoproto.marshaler', index=50, - number=64017, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -UNMARSHALER_FIELD_NUMBER = 64018 -unmarshaler = _descriptor.FieldDescriptor( - name='unmarshaler', full_name='gogoproto.unmarshaler', index=51, - number=64018, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -STABLE_MARSHALER_FIELD_NUMBER = 64019 -stable_marshaler = _descriptor.FieldDescriptor( - name='stable_marshaler', full_name='gogoproto.stable_marshaler', index=52, - number=64019, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -SIZER_FIELD_NUMBER = 64020 -sizer = _descriptor.FieldDescriptor( - name='sizer', full_name='gogoproto.sizer', index=53, - number=64020, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -UNSAFE_MARSHALER_FIELD_NUMBER = 64023 -unsafe_marshaler = _descriptor.FieldDescriptor( - name='unsafe_marshaler', full_name='gogoproto.unsafe_marshaler', index=54, - number=64023, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -UNSAFE_UNMARSHALER_FIELD_NUMBER = 64024 -unsafe_unmarshaler = _descriptor.FieldDescriptor( - name='unsafe_unmarshaler', full_name='gogoproto.unsafe_unmarshaler', index=55, - number=64024, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_EXTENSIONS_MAP_FIELD_NUMBER = 64025 -goproto_extensions_map = _descriptor.FieldDescriptor( - name='goproto_extensions_map', full_name='gogoproto.goproto_extensions_map', index=56, - number=64025, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_UNRECOGNIZED_FIELD_NUMBER = 64026 -goproto_unrecognized = _descriptor.FieldDescriptor( - name='goproto_unrecognized', full_name='gogoproto.goproto_unrecognized', index=57, - number=64026, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -PROTOSIZER_FIELD_NUMBER = 64028 -protosizer = _descriptor.FieldDescriptor( - name='protosizer', full_name='gogoproto.protosizer', index=58, - number=64028, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -COMPARE_FIELD_NUMBER = 64029 -compare = _descriptor.FieldDescriptor( - name='compare', full_name='gogoproto.compare', index=59, - number=64029, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -TYPEDECL_FIELD_NUMBER = 64030 -typedecl = _descriptor.FieldDescriptor( - name='typedecl', full_name='gogoproto.typedecl', index=60, - number=64030, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -MESSAGENAME_FIELD_NUMBER = 64033 -messagename = _descriptor.FieldDescriptor( - name='messagename', full_name='gogoproto.messagename', index=61, - number=64033, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_SIZECACHE_FIELD_NUMBER = 64034 -goproto_sizecache = _descriptor.FieldDescriptor( - name='goproto_sizecache', full_name='gogoproto.goproto_sizecache', index=62, - number=64034, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -GOPROTO_UNKEYED_FIELD_NUMBER = 64035 -goproto_unkeyed = _descriptor.FieldDescriptor( - name='goproto_unkeyed', full_name='gogoproto.goproto_unkeyed', index=63, - number=64035, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -NULLABLE_FIELD_NUMBER = 65001 -nullable = _descriptor.FieldDescriptor( - name='nullable', full_name='gogoproto.nullable', index=64, - number=65001, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -EMBED_FIELD_NUMBER = 65002 -embed = _descriptor.FieldDescriptor( - name='embed', full_name='gogoproto.embed', index=65, - number=65002, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -CUSTOMTYPE_FIELD_NUMBER = 65003 -customtype = _descriptor.FieldDescriptor( - name='customtype', full_name='gogoproto.customtype', index=66, - number=65003, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -CUSTOMNAME_FIELD_NUMBER = 65004 -customname = _descriptor.FieldDescriptor( - name='customname', full_name='gogoproto.customname', index=67, - number=65004, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -JSONTAG_FIELD_NUMBER = 65005 -jsontag = _descriptor.FieldDescriptor( - name='jsontag', full_name='gogoproto.jsontag', index=68, - number=65005, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -MORETAGS_FIELD_NUMBER = 65006 -moretags = _descriptor.FieldDescriptor( - name='moretags', full_name='gogoproto.moretags', index=69, - number=65006, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -CASTTYPE_FIELD_NUMBER = 65007 -casttype = _descriptor.FieldDescriptor( - name='casttype', full_name='gogoproto.casttype', index=70, - number=65007, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -CASTKEY_FIELD_NUMBER = 65008 -castkey = _descriptor.FieldDescriptor( - name='castkey', full_name='gogoproto.castkey', index=71, - number=65008, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -CASTVALUE_FIELD_NUMBER = 65009 -castvalue = _descriptor.FieldDescriptor( - name='castvalue', full_name='gogoproto.castvalue', index=72, - number=65009, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -STDTIME_FIELD_NUMBER = 65010 -stdtime = _descriptor.FieldDescriptor( - name='stdtime', full_name='gogoproto.stdtime', index=73, - number=65010, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -STDDURATION_FIELD_NUMBER = 65011 -stdduration = _descriptor.FieldDescriptor( - name='stdduration', full_name='gogoproto.stdduration', index=74, - number=65011, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) -WKTPOINTER_FIELD_NUMBER = 65012 -wktpointer = _descriptor.FieldDescriptor( - name='wktpointer', full_name='gogoproto.wktpointer', index=75, - number=65012, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key) - -DESCRIPTOR.extensions_by_name['goproto_enum_prefix'] = goproto_enum_prefix -DESCRIPTOR.extensions_by_name['goproto_enum_stringer'] = goproto_enum_stringer -DESCRIPTOR.extensions_by_name['enum_stringer'] = enum_stringer -DESCRIPTOR.extensions_by_name['enum_customname'] = enum_customname -DESCRIPTOR.extensions_by_name['enumdecl'] = enumdecl -DESCRIPTOR.extensions_by_name['enumvalue_customname'] = enumvalue_customname -DESCRIPTOR.extensions_by_name['goproto_getters_all'] = goproto_getters_all -DESCRIPTOR.extensions_by_name['goproto_enum_prefix_all'] = goproto_enum_prefix_all -DESCRIPTOR.extensions_by_name['goproto_stringer_all'] = goproto_stringer_all -DESCRIPTOR.extensions_by_name['verbose_equal_all'] = verbose_equal_all -DESCRIPTOR.extensions_by_name['face_all'] = face_all -DESCRIPTOR.extensions_by_name['gostring_all'] = gostring_all -DESCRIPTOR.extensions_by_name['populate_all'] = populate_all -DESCRIPTOR.extensions_by_name['stringer_all'] = stringer_all -DESCRIPTOR.extensions_by_name['onlyone_all'] = onlyone_all -DESCRIPTOR.extensions_by_name['equal_all'] = equal_all -DESCRIPTOR.extensions_by_name['description_all'] = description_all -DESCRIPTOR.extensions_by_name['testgen_all'] = testgen_all -DESCRIPTOR.extensions_by_name['benchgen_all'] = benchgen_all -DESCRIPTOR.extensions_by_name['marshaler_all'] = marshaler_all -DESCRIPTOR.extensions_by_name['unmarshaler_all'] = unmarshaler_all -DESCRIPTOR.extensions_by_name['stable_marshaler_all'] = stable_marshaler_all -DESCRIPTOR.extensions_by_name['sizer_all'] = sizer_all -DESCRIPTOR.extensions_by_name['goproto_enum_stringer_all'] = goproto_enum_stringer_all -DESCRIPTOR.extensions_by_name['enum_stringer_all'] = enum_stringer_all -DESCRIPTOR.extensions_by_name['unsafe_marshaler_all'] = unsafe_marshaler_all -DESCRIPTOR.extensions_by_name['unsafe_unmarshaler_all'] = unsafe_unmarshaler_all -DESCRIPTOR.extensions_by_name['goproto_extensions_map_all'] = goproto_extensions_map_all -DESCRIPTOR.extensions_by_name['goproto_unrecognized_all'] = goproto_unrecognized_all -DESCRIPTOR.extensions_by_name['gogoproto_import'] = gogoproto_import -DESCRIPTOR.extensions_by_name['protosizer_all'] = protosizer_all -DESCRIPTOR.extensions_by_name['compare_all'] = compare_all -DESCRIPTOR.extensions_by_name['typedecl_all'] = typedecl_all -DESCRIPTOR.extensions_by_name['enumdecl_all'] = enumdecl_all -DESCRIPTOR.extensions_by_name['goproto_registration'] = goproto_registration -DESCRIPTOR.extensions_by_name['messagename_all'] = messagename_all -DESCRIPTOR.extensions_by_name['goproto_sizecache_all'] = goproto_sizecache_all -DESCRIPTOR.extensions_by_name['goproto_unkeyed_all'] = goproto_unkeyed_all -DESCRIPTOR.extensions_by_name['goproto_getters'] = goproto_getters -DESCRIPTOR.extensions_by_name['goproto_stringer'] = goproto_stringer -DESCRIPTOR.extensions_by_name['verbose_equal'] = verbose_equal -DESCRIPTOR.extensions_by_name['face'] = face -DESCRIPTOR.extensions_by_name['gostring'] = gostring -DESCRIPTOR.extensions_by_name['populate'] = populate -DESCRIPTOR.extensions_by_name['stringer'] = stringer -DESCRIPTOR.extensions_by_name['onlyone'] = onlyone -DESCRIPTOR.extensions_by_name['equal'] = equal -DESCRIPTOR.extensions_by_name['description'] = description -DESCRIPTOR.extensions_by_name['testgen'] = testgen -DESCRIPTOR.extensions_by_name['benchgen'] = benchgen -DESCRIPTOR.extensions_by_name['marshaler'] = marshaler -DESCRIPTOR.extensions_by_name['unmarshaler'] = unmarshaler -DESCRIPTOR.extensions_by_name['stable_marshaler'] = stable_marshaler -DESCRIPTOR.extensions_by_name['sizer'] = sizer -DESCRIPTOR.extensions_by_name['unsafe_marshaler'] = unsafe_marshaler -DESCRIPTOR.extensions_by_name['unsafe_unmarshaler'] = unsafe_unmarshaler -DESCRIPTOR.extensions_by_name['goproto_extensions_map'] = goproto_extensions_map -DESCRIPTOR.extensions_by_name['goproto_unrecognized'] = goproto_unrecognized -DESCRIPTOR.extensions_by_name['protosizer'] = protosizer -DESCRIPTOR.extensions_by_name['compare'] = compare -DESCRIPTOR.extensions_by_name['typedecl'] = typedecl -DESCRIPTOR.extensions_by_name['messagename'] = messagename -DESCRIPTOR.extensions_by_name['goproto_sizecache'] = goproto_sizecache -DESCRIPTOR.extensions_by_name['goproto_unkeyed'] = goproto_unkeyed -DESCRIPTOR.extensions_by_name['nullable'] = nullable -DESCRIPTOR.extensions_by_name['embed'] = embed -DESCRIPTOR.extensions_by_name['customtype'] = customtype -DESCRIPTOR.extensions_by_name['customname'] = customname -DESCRIPTOR.extensions_by_name['jsontag'] = jsontag -DESCRIPTOR.extensions_by_name['moretags'] = moretags -DESCRIPTOR.extensions_by_name['casttype'] = casttype -DESCRIPTOR.extensions_by_name['castkey'] = castkey -DESCRIPTOR.extensions_by_name['castvalue'] = castvalue -DESCRIPTOR.extensions_by_name['stdtime'] = stdtime -DESCRIPTOR.extensions_by_name['stdduration'] = stdduration -DESCRIPTOR.extensions_by_name['wktpointer'] = wktpointer -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(goproto_enum_prefix) -google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(goproto_enum_stringer) -google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(enum_stringer) -google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(enum_customname) -google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(enumdecl) -google_dot_protobuf_dot_descriptor__pb2.EnumValueOptions.RegisterExtension(enumvalue_customname) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_getters_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_enum_prefix_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_stringer_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(verbose_equal_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(face_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(gostring_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(populate_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(stringer_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(onlyone_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(equal_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(description_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(testgen_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(benchgen_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(marshaler_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(unmarshaler_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(stable_marshaler_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(sizer_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_enum_stringer_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(enum_stringer_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(unsafe_marshaler_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(unsafe_unmarshaler_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_extensions_map_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_unrecognized_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(gogoproto_import) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(protosizer_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(compare_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(typedecl_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(enumdecl_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_registration) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(messagename_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_sizecache_all) -google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(goproto_unkeyed_all) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_getters) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_stringer) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(verbose_equal) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(face) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(gostring) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(populate) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(stringer) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(onlyone) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(equal) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(description) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(testgen) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(benchgen) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(marshaler) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(unmarshaler) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(stable_marshaler) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(sizer) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(unsafe_marshaler) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(unsafe_unmarshaler) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_extensions_map) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_unrecognized) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(protosizer) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(compare) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(typedecl) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(messagename) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_sizecache) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(goproto_unkeyed) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(nullable) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(embed) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(customtype) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(customname) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(jsontag) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(moretags) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(casttype) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(castkey) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(castvalue) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(stdtime) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(stdduration) -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(wktpointer) - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/src/gogoproto/gogo_pb2_grpc.py b/src/gogoproto/gogo_pb2_grpc.py deleted file mode 100644 index 2daafff..0000000 --- a/src/gogoproto/gogo_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/src/google/api/annotations_pb2.py b/src/google/api/annotations_pb2.py index 259e7f4..381846a 100644 --- a/src/google/api/annotations_pb2.py +++ b/src/google/api/annotations_pb2.py @@ -19,9 +19,9 @@ name='google/api/annotations.proto', package='google.api', syntax='proto3', - serialized_options=b'\n\016com.google.apiB\020AnnotationsProtoP\001Z\003api\242\002\004GAPI', + serialized_options=b'\n\016com.google.apiB\020AnnotationsProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\004GAPI', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1cgoogle/api/annotations.proto\x12\ngoogle.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:E\n\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0\xca\xbc\" \x01(\x0b\x32\x14.google.api.HttpRuleB0\n\x0e\x63om.google.apiB\x10\x41nnotationsProtoP\x01Z\x03\x61pi\xa2\x02\x04GAPIb\x06proto3' + serialized_pb=b'\n\x1cgoogle/api/annotations.proto\x12\ngoogle.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:E\n\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0\xca\xbc\" \x01(\x0b\x32\x14.google.api.HttpRuleBn\n\x0e\x63om.google.apiB\x10\x41nnotationsProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3' , dependencies=[google_dot_api_dot_http__pb2.DESCRIPTOR,google_dot_protobuf_dot_descriptor__pb2.DESCRIPTOR,]) diff --git a/src/google/rpc/status_pb2.py b/src/google/rpc/status_pb2.py index 81f336a..8839073 100644 --- a/src/google/rpc/status_pb2.py +++ b/src/google/rpc/status_pb2.py @@ -18,9 +18,9 @@ name='google/rpc/status.proto', package='google.rpc', syntax='proto3', - serialized_options=b'\n\016com.google.rpcB\013StatusProtoP\001Z\003rpc\370\001\001\242\002\003RPC', + serialized_options=b'\n\016com.google.rpcB\013StatusProtoP\001Z7google.golang.org/genproto/googleapis/rpc/status;status\370\001\001\242\002\003RPC', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x17google/rpc/status.proto\x12\ngoogle.rpc\x1a\x19google/protobuf/any.proto\"N\n\x06Status\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyB-\n\x0e\x63om.google.rpcB\x0bStatusProtoP\x01Z\x03rpc\xf8\x01\x01\xa2\x02\x03RPCb\x06proto3' + serialized_pb=b'\n\x17google/rpc/status.proto\x12\ngoogle.rpc\x1a\x19google/protobuf/any.proto\"N\n\x06Status\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyBa\n\x0e\x63om.google.rpcB\x0bStatusProtoP\x01Z7google.golang.org/genproto/googleapis/rpc/status;status\xf8\x01\x01\xa2\x02\x03RPCb\x06proto3' , dependencies=[google_dot_protobuf_dot_any__pb2.DESCRIPTOR,]) diff --git a/src/test.py b/src/test.py new file mode 100644 index 0000000..bde9704 --- /dev/null +++ b/src/test.py @@ -0,0 +1,15 @@ +import unittest + +from tests import test_e2e + + +class SequentialTestLoader(unittest.TestLoader): + def getTestCaseNames(self, testCaseClass): + test_names = super().getTestCaseNames(testCaseClass) + testcase_methods = list(testCaseClass.__dict__.keys()) + test_names.sort(key=testcase_methods.index) + return test_names + + +if __name__ == "__main__": + unittest.main(test_e2e, testLoader=SequentialTestLoader()) diff --git a/src/tests/test_e2e.py b/src/tests/test_e2e.py new file mode 100644 index 0000000..f73e659 --- /dev/null +++ b/src/tests/test_e2e.py @@ -0,0 +1,287 @@ +import unittest +import json +import time + +import grpc +from vald.v1.agent.core import agent_pb2_grpc +from vald.v1.vald import insert_pb2_grpc +from vald.v1.vald import search_pb2_grpc +from vald.v1.vald import update_pb2_grpc +from vald.v1.vald import upsert_pb2_grpc +from vald.v1.vald import remove_pb2_grpc +from vald.v1.vald import object_pb2_grpc +from vald.v1.payload import payload_pb2 + + +class TestValdE2E(unittest.TestCase): + """e2e test for vald-client-python + """ + + def __init__(self, *args, **kwargs): + super(TestValdE2E, self).__init__(*args, **kwargs) + self.data = json.load(open("wordvecs1000.json", "r")) + + def setUp(self): + options = [("grpc.keepalive_time_ms", 10000), + ("grpc.keepalive_timeout_ms", 5000), + ("grpc.client_channel_backup_poll_interval_ms", 100)] + self.channel = grpc.insecure_channel( + target="localhost:8081", options=options) + + def tearDown(self): + self.channel.close() + + def test_insert(self): + stub = insert_pb2_grpc.InsertStub(self.channel) + vec = payload_pb2.Object.Vector( + id=self.data[0]["id"], vector=self.data[0]["vector"]) + cfg = payload_pb2.Insert.Config(skip_strict_exist_check=True) + result = stub.Insert( + payload_pb2.Insert.Request(vector=vec, config=cfg)) + self.assertIsInstance(result, payload_pb2.Object.Location) + + def test_multi_insert(self): + stub = insert_pb2_grpc.InsertStub(self.channel) + cfg = payload_pb2.Insert.Config(skip_strict_exist_check=True) + requests = [] + for i in range(1, 10): + vec = payload_pb2.Object.Vector( + id=self.data[i]["id"], vector=self.data[i]["vector"]) + requests.append(payload_pb2.Insert.Request( + vector=vec, config=cfg)) + results = stub.MultiInsert( + payload_pb2.Insert.MultiRequest(requests=requests)) + self.assertIsInstance(results, payload_pb2.Object.Locations) + + def test_stream_insert(self): + stub = insert_pb2_grpc.InsertStub(self.channel) + cfg = payload_pb2.Insert.Config(skip_strict_exist_check=True) + requests = [] + for i in range(11, 100): + vec = payload_pb2.Object.Vector( + id=self.data[i]["id"], vector=self.data[i]["vector"]) + requests.append(payload_pb2.Insert.Request( + vector=vec, config=cfg)) + results = stub.StreamInsert(iter(requests)) + for result in results: + self.assertIsInstance(result, payload_pb2.Object.StreamLocation) + self.assertEqual(result.status.code, 0) + + def test_create_index(self): + stub = agent_pb2_grpc.AgentStub(self.channel) + result = stub.CreateIndex( + payload_pb2.Control.CreateIndexRequest(pool_size=10000)) + self.assertIsInstance(result, payload_pb2.Empty) + + def test_save_index(self): + stub = agent_pb2_grpc.AgentStub(self.channel) + result = stub.SaveIndex(payload_pb2.Empty()) + self.assertIsInstance(result, payload_pb2.Empty) + + def test_index_info(self): + stub = agent_pb2_grpc.AgentStub(self.channel) + result = stub.IndexInfo(payload_pb2.Empty()) + self.assertIsInstance(result, payload_pb2.Info.Index.Count) + self.assertEqual(result.stored, 99) + self.assertEqual(result.uncommitted, 0) + + def test_exists(self): + stub = object_pb2_grpc.ObjectStub(self.channel) + result = stub.Exists( + payload_pb2.Object.ID(id=self.data[0]["id"])) + self.assertIsInstance(result, payload_pb2.Object.ID) + + def test_get_object(self): + stub = object_pb2_grpc.ObjectStub(self.channel) + req = payload_pb2.Object.VectorRequest( + id=payload_pb2.Object.ID(id=self.data[0]["id"])) + result = stub.GetObject(req) + self.assertIsInstance(result, payload_pb2.Object.Vector) + self.assertEqual(result.id, self.data[0]["id"]) + + def test_stream_get_object(self): + stub = object_pb2_grpc.ObjectStub(self.channel) + requests = [] + for i in range(0, 10): + requests.append(payload_pb2.Object.VectorRequest( + id=payload_pb2.Object.ID(id=self.data[i]["id"]))) + results = stub.StreamGetObject(iter(requests)) + for result in results: + self.assertIsInstance(result, payload_pb2.Object.StreamVector) + + def test_search(self): + stub = search_pb2_grpc.SearchStub(self.channel) + cfg = payload_pb2.Search.Config( + num=3, radius=-1.0, epsilon=0.1, timeout=3000000000) + result = stub.Search(payload_pb2.Search.Request( + vector=self.data[0]["vector"], config=cfg)) + self.assertIsInstance(result, payload_pb2.Search.Response) + self.assertEqual(len(result.results), 3) + + def test_multi_search(self): + stub = search_pb2_grpc.SearchStub(self.channel) + cfg = payload_pb2.Search.Config( + num=3, radius=-1.0, epsilon=0.1, timeout=3000000000) + requests = [] + for i in range(1, 10): + requests.append(payload_pb2.Search.Request( + vector=self.data[i]["vector"], config=cfg)) + results = stub.MultiSearch( + payload_pb2.Search.MultiRequest(requests=requests)) + self.assertIsInstance(results, payload_pb2.Search.Responses) + for response in results.responses: + self.assertIsInstance(response, payload_pb2.Search.Response) + self.assertEqual(len(response.results), 3) + + def test_stream_search(self): + stub = search_pb2_grpc.SearchStub(self.channel) + cfg = payload_pb2.Search.Config( + num=3, radius=-1.0, epsilon=0.1, timeout=3000000000) + requests = [] + for i in range(11, 20): + requests.append(payload_pb2.Search.Request( + vector=self.data[i]["vector"], config=cfg)) + results = stub.StreamSearch(iter(requests)) + for result in results: + self.assertIsInstance(result, payload_pb2.Search.StreamResponse) + self.assertIsNotNone(result.response) + + def test_search_id(self): + stub = search_pb2_grpc.SearchStub(self.channel) + cfg = payload_pb2.Search.Config( + num=3, radius=-1.0, epsilon=0.1, timeout=3000000000) + result = stub.SearchByID(payload_pb2.Search.IDRequest( + id=self.data[0]["id"], config=cfg)) + self.assertIsInstance(result, payload_pb2.Search.Response) + self.assertEqual(len(result.results), 3) + + def test_multi_search_id(self): + stub = search_pb2_grpc.SearchStub(self.channel) + cfg = payload_pb2.Search.Config( + num=3, radius=-1.0, epsilon=0.1, timeout=3000000000) + requests = [] + for i in range(1, 10): + requests.append(payload_pb2.Search.IDRequest( + id=self.data[i]["id"], config=cfg)) + results = stub.MultiSearchByID( + payload_pb2.Search.MultiIDRequest(requests=requests)) + self.assertIsInstance(results, payload_pb2.Search.Responses) + for response in results.responses: + self.assertIsInstance(response, payload_pb2.Search.Response) + self.assertEqual(len(response.results), 3) + + def test_stream_search_id(self): + stub = search_pb2_grpc.SearchStub(self.channel) + cfg = payload_pb2.Search.Config( + num=3, radius=-1.0, epsilon=0.1, timeout=3000000000) + requests = [] + for i in range(11, 20): + requests.append(payload_pb2.Search.IDRequest( + id=self.data[i]["id"], config=cfg)) + results = stub.StreamSearchByID(iter(requests)) + for result in results: + self.assertIsInstance(result, payload_pb2.Search.StreamResponse) + self.assertIsNotNone(result.response) + + def test_update(self): + stub = update_pb2_grpc.UpdateStub(self.channel) + vec = payload_pb2.Object.Vector( + id=self.data[0]["id"], vector=self.data[1]["vector"]) + cfg = payload_pb2.Update.Config(skip_strict_exist_check=True) + result = stub.Update( + payload_pb2.Update.Request(vector=vec, config=cfg)) + self.assertIsInstance(result, payload_pb2.Object.Location) + + def test_multi_update(self): + stub = update_pb2_grpc.UpdateStub(self.channel) + cfg = payload_pb2.Update.Config(skip_strict_exist_check=True) + requests = [] + for i in range(1, 10): + vec = payload_pb2.Object.Vector( + id=self.data[i]["id"], vector=self.data[i+1]["vector"]) + requests.append(payload_pb2.Update.Request( + vector=vec, config=cfg)) + results = stub.MultiUpdate( + payload_pb2.Update.MultiRequest(requests=requests)) + self.assertIsInstance(results, payload_pb2.Object.Locations) + + def test_stream_update(self): + stub = update_pb2_grpc.UpdateStub(self.channel) + cfg = payload_pb2.Update.Config(skip_strict_exist_check=True) + requests = [] + for i in range(11, 20): + vec = payload_pb2.Object.Vector( + id=self.data[i]["id"], vector=self.data[i+1]["vector"]) + requests.append(payload_pb2.Update.Request( + vector=vec, config=cfg)) + results = stub.StreamUpdate(iter(requests)) + for result in results: + self.assertIsInstance(result, payload_pb2.Object.StreamLocation) + self.assertEqual(result.status.code, 0) + + def test_upsert(self): + stub = upsert_pb2_grpc.UpsertStub(self.channel) + vec = payload_pb2.Object.Vector( + id=self.data[0]["id"], vector=self.data[0]["vector"]) + cfg = payload_pb2.Upsert.Config(skip_strict_exist_check=True) + result = stub.Upsert( + payload_pb2.Upsert.Request(vector=vec, config=cfg)) + self.assertIsInstance(result, payload_pb2.Object.Location) + + def test_multi_upsert(self): + stub = upsert_pb2_grpc.UpsertStub(self.channel) + cfg = payload_pb2.Upsert.Config(skip_strict_exist_check=True) + requests = [] + for i in range(1, 10): + vec = payload_pb2.Object.Vector( + id=self.data[i]["id"], vector=self.data[i]["vector"]) + requests.append(payload_pb2.Upsert.Request( + vector=vec, config=cfg)) + results = stub.MultiUpsert( + payload_pb2.Upsert.MultiRequest(requests=requests)) + self.assertIsInstance(results, payload_pb2.Object.Locations) + + def test_stream_upsert(self): + stub = upsert_pb2_grpc.UpsertStub(self.channel) + cfg = payload_pb2.Upsert.Config(skip_strict_exist_check=True) + requests = [] + for i in range(11, 20): + vec = payload_pb2.Object.Vector( + id=self.data[i]["id"], vector=self.data[i]["vector"]) + requests.append(payload_pb2.Upsert.Request( + vector=vec, config=cfg)) + results = stub.StreamUpsert(iter(requests)) + for result in results: + self.assertIsInstance(result, payload_pb2.Object.StreamLocation) + self.assertEqual(result.status.code, 0) + + def test_remove(self): + stub = remove_pb2_grpc.RemoveStub(self.channel) + cfg = payload_pb2.Remove.Config(skip_strict_exist_check=True) + result = stub.Remove( + payload_pb2.Remove.Request( + id=payload_pb2.Object.ID(id=self.data[0]["id"]), config=cfg)) + self.assertIsInstance(result, payload_pb2.Object.Location) + + def test_multi_remove(self): + stub = remove_pb2_grpc.RemoveStub(self.channel) + cfg = payload_pb2.Remove.Config(skip_strict_exist_check=True) + requests = [] + for i in range(1, 10): + requests.append(payload_pb2.Remove.Request( + id=payload_pb2.Object.ID(id=self.data[i]["id"]), config=cfg)) + results = stub.MultiRemove( + payload_pb2.Remove.MultiRequest(requests=requests)) + self.assertIsInstance(results, payload_pb2.Object.Locations) + + def test_stream_remove(self): + stub = remove_pb2_grpc.RemoveStub(self.channel) + cfg = payload_pb2.Remove.Config(skip_strict_exist_check=True) + requests = [] + for i in range(11, 20): + requests.append(payload_pb2.Remove.Request( + id=payload_pb2.Object.ID(id=self.data[i]["id"]), config=cfg)) + results = stub.StreamRemove(iter(requests)) + for result in results: + self.assertIsInstance(result, payload_pb2.Object.StreamLocation) + self.assertEqual(result.status.code, 0) diff --git a/src/vald/v1/agent/core/agent_pb2.py b/src/vald/v1/agent/core/agent_pb2.py index 04755f9..3ac8b8c 100644 --- a/src/vald/v1/agent/core/agent_pb2.py +++ b/src/vald/v1/agent/core/agent_pb2.py @@ -12,7 +12,6 @@ from vald.v1.payload import payload_pb2 as vald_dot_v1_dot_payload_dot_payload__pb2 -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 @@ -20,11 +19,11 @@ name='vald/v1/agent/core/agent.proto', package='core.v1', syntax='proto3', - serialized_options=b'\n org.vdaas.vald.api.v1.agent.coreB\tValdAgentP\001Z-github.com/vdaas/vald/apis/grpc/v1/agent/core\310\342\036\001\320\342\036\001\340\342\036\001\300\343\036\001\310\343\036\001', + serialized_options=b'\n org.vdaas.vald.api.v1.agent.coreB\tValdAgentP\001Z-github.com/vdaas/vald/apis/grpc/v1/agent/core', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1evald/v1/agent/core/agent.proto\x12\x07\x63ore.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto2\xf2\x02\n\x05\x41gent\x12_\n\x0b\x43reateIndex\x12&.payload.v1.Control.CreateIndexRequest\x1a\x11.payload.v1.Empty\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/index/create\x12\x46\n\tSaveIndex\x12\x11.payload.v1.Empty\x1a\x11.payload.v1.Empty\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/index/save\x12m\n\x12\x43reateAndSaveIndex\x12&.payload.v1.Control.CreateIndexRequest\x1a\x11.payload.v1.Empty\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/index/createandsave\x12Q\n\tIndexInfo\x12\x11.payload.v1.Empty\x1a\x1c.payload.v1.Info.Index.Count\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/index/infoBr\n org.vdaas.vald.api.v1.agent.coreB\tValdAgentP\x01Z-github.com/vdaas/vald/apis/grpc/v1/agent/core\xc8\xe2\x1e\x01\xd0\xe2\x1e\x01\xe0\xe2\x1e\x01\xc0\xe3\x1e\x01\xc8\xe3\x1e\x01\x62\x06proto3' + serialized_pb=b'\n\x1evald/v1/agent/core/agent.proto\x12\x07\x63ore.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x1cgoogle/api/annotations.proto2\xf2\x02\n\x05\x41gent\x12_\n\x0b\x43reateIndex\x12&.payload.v1.Control.CreateIndexRequest\x1a\x11.payload.v1.Empty\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/index/create\x12\x46\n\tSaveIndex\x12\x11.payload.v1.Empty\x1a\x11.payload.v1.Empty\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/index/save\x12m\n\x12\x43reateAndSaveIndex\x12&.payload.v1.Control.CreateIndexRequest\x1a\x11.payload.v1.Empty\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/index/createandsave\x12Q\n\tIndexInfo\x12\x11.payload.v1.Empty\x1a\x1c.payload.v1.Info.Index.Count\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/index/infoB^\n org.vdaas.vald.api.v1.agent.coreB\tValdAgentP\x01Z-github.com/vdaas/vald/apis/grpc/v1/agent/coreb\x06proto3' , - dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,gogoproto_dot_gogo__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -40,8 +39,8 @@ index=0, serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_start=127, - serialized_end=497, + serialized_start=105, + serialized_end=475, methods=[ _descriptor.MethodDescriptor( name='CreateIndex', diff --git a/src/vald/v1/gateway/vald/vald_pb2.py b/src/vald/v1/gateway/vald/vald_pb2.py deleted file mode 100644 index e993e07..0000000 --- a/src/vald/v1/gateway/vald/vald_pb2.py +++ /dev/null @@ -1,241 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: vald/v1/gateway/vald/vald.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from vald.v1.payload import payload_pb2 as vald_dot_v1_dot_payload_dot_payload__pb2 -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='vald/v1/gateway/vald/vald.proto', - package='vald.v1', - syntax='proto3', - serialized_options=b'\n\"org.vdaas.vald.api.v1.gateway.valdB\007ValdApiP\001Z/github.com/vdaas/vald/apis/grpc/v1/gateway/vald\300\343\036\001\310\342\036\001\320\342\036\001\340\342\036\001\310\343\036\001', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1fvald/v1/gateway/vald/vald.proto\x12\x07vald.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto2\x81\x0c\n\x04Vald\x12L\n\x06\x45xists\x12\x15.payload.v1.Object.ID\x1a\x15.payload.v1.Object.ID\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/exists/{id}\x12U\n\x06Search\x12\x1a.payload.v1.Search.Request\x1a\x1b.payload.v1.Search.Response\"\x12\x82\xd3\xe4\x93\x02\x0c\"\x07/search:\x01*\x12^\n\nSearchByID\x12\x1c.payload.v1.Search.IDRequest\x1a\x1b.payload.v1.Search.Response\"\x15\x82\xd3\xe4\x93\x02\x0f\"\n/search/id:\x01*\x12M\n\x0cStreamSearch\x12\x1a.payload.v1.Search.Request\x1a\x1b.payload.v1.Search.Response\"\x00(\x01\x30\x01\x12S\n\x10StreamSearchByID\x12\x1c.payload.v1.Search.IDRequest\x1a\x1b.payload.v1.Search.Response\"\x00(\x01\x30\x01\x12T\n\x06Insert\x12\x19.payload.v1.Object.Vector\x1a\x1b.payload.v1.Object.Location\"\x12\x82\xd3\xe4\x93\x02\x0c\"\x07/insert:\x01*\x12L\n\x0cStreamInsert\x12\x19.payload.v1.Object.Vector\x1a\x1b.payload.v1.Object.Location\"\x00(\x01\x30\x01\x12I\n\x0bMultiInsert\x12\x1a.payload.v1.Object.Vectors\x1a\x1c.payload.v1.Object.Locations\"\x00\x12T\n\x06Update\x12\x19.payload.v1.Object.Vector\x1a\x1b.payload.v1.Object.Location\"\x12\x82\xd3\xe4\x93\x02\x0c\"\x07/update:\x01*\x12L\n\x0cStreamUpdate\x12\x19.payload.v1.Object.Vector\x1a\x1b.payload.v1.Object.Location\"\x00(\x01\x30\x01\x12I\n\x0bMultiUpdate\x12\x1a.payload.v1.Object.Vectors\x1a\x1c.payload.v1.Object.Locations\"\x00\x12T\n\x06Upsert\x12\x19.payload.v1.Object.Vector\x1a\x1b.payload.v1.Object.Location\"\x12\x82\xd3\xe4\x93\x02\x0c\"\x07/upsert:\x01*\x12L\n\x0cStreamUpsert\x12\x19.payload.v1.Object.Vector\x1a\x1b.payload.v1.Object.Location\"\x00(\x01\x30\x01\x12I\n\x0bMultiUpsert\x12\x1a.payload.v1.Object.Vectors\x1a\x1c.payload.v1.Object.Locations\"\x00\x12R\n\x06Remove\x12\x15.payload.v1.Object.ID\x1a\x1b.payload.v1.Object.Location\"\x14\x82\xd3\xe4\x93\x02\x0e*\x0c/remove/{id}\x12H\n\x0cStreamRemove\x12\x15.payload.v1.Object.ID\x1a\x1b.payload.v1.Object.Location\"\x00(\x01\x30\x01\x12\x45\n\x0bMultiRemove\x12\x16.payload.v1.Object.IDs\x1a\x1c.payload.v1.Object.Locations\"\x00\x12S\n\tGetObject\x12\x15.payload.v1.Object.ID\x1a\x19.payload.v1.Object.Vector\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/object/{id}\x12I\n\x0fStreamGetObject\x12\x15.payload.v1.Object.ID\x1a\x19.payload.v1.Object.Vector\"\x00(\x01\x30\x01\x42t\n\"org.vdaas.vald.api.v1.gateway.valdB\x07ValdApiP\x01Z/github.com/vdaas/vald/apis/grpc/v1/gateway/vald\xc0\xe3\x1e\x01\xc8\xe2\x1e\x01\xd0\xe2\x1e\x01\xe0\xe2\x1e\x01\xc8\xe3\x1e\x01\x62\x06proto3' - , - dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,gogoproto_dot_gogo__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - - -DESCRIPTOR._options = None - -_VALD = _descriptor.ServiceDescriptor( - name='Vald', - full_name='vald.v1.Vald', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=128, - serialized_end=1665, - methods=[ - _descriptor.MethodDescriptor( - name='Exists', - full_name='vald.v1.Vald.Exists', - index=0, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_ID, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_ID, - serialized_options=b'\202\323\344\223\002\016\022\014/exists/{id}', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Search', - full_name='vald.v1.Vald.Search', - index=1, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._SEARCH_REQUEST, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._SEARCH_RESPONSE, - serialized_options=b'\202\323\344\223\002\014\"\007/search:\001*', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SearchByID', - full_name='vald.v1.Vald.SearchByID', - index=2, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._SEARCH_IDREQUEST, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._SEARCH_RESPONSE, - serialized_options=b'\202\323\344\223\002\017\"\n/search/id:\001*', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StreamSearch', - full_name='vald.v1.Vald.StreamSearch', - index=3, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._SEARCH_REQUEST, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._SEARCH_RESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StreamSearchByID', - full_name='vald.v1.Vald.StreamSearchByID', - index=4, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._SEARCH_IDREQUEST, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._SEARCH_RESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Insert', - full_name='vald.v1.Vald.Insert', - index=5, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_VECTOR, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_LOCATION, - serialized_options=b'\202\323\344\223\002\014\"\007/insert:\001*', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StreamInsert', - full_name='vald.v1.Vald.StreamInsert', - index=6, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_VECTOR, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_LOCATION, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='MultiInsert', - full_name='vald.v1.Vald.MultiInsert', - index=7, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_VECTORS, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_LOCATIONS, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Update', - full_name='vald.v1.Vald.Update', - index=8, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_VECTOR, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_LOCATION, - serialized_options=b'\202\323\344\223\002\014\"\007/update:\001*', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StreamUpdate', - full_name='vald.v1.Vald.StreamUpdate', - index=9, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_VECTOR, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_LOCATION, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='MultiUpdate', - full_name='vald.v1.Vald.MultiUpdate', - index=10, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_VECTORS, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_LOCATIONS, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Upsert', - full_name='vald.v1.Vald.Upsert', - index=11, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_VECTOR, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_LOCATION, - serialized_options=b'\202\323\344\223\002\014\"\007/upsert:\001*', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StreamUpsert', - full_name='vald.v1.Vald.StreamUpsert', - index=12, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_VECTOR, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_LOCATION, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='MultiUpsert', - full_name='vald.v1.Vald.MultiUpsert', - index=13, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_VECTORS, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_LOCATIONS, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Remove', - full_name='vald.v1.Vald.Remove', - index=14, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_ID, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_LOCATION, - serialized_options=b'\202\323\344\223\002\016*\014/remove/{id}', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StreamRemove', - full_name='vald.v1.Vald.StreamRemove', - index=15, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_ID, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_LOCATION, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='MultiRemove', - full_name='vald.v1.Vald.MultiRemove', - index=16, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_IDS, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_LOCATIONS, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetObject', - full_name='vald.v1.Vald.GetObject', - index=17, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_ID, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_VECTOR, - serialized_options=b'\202\323\344\223\002\016\022\014/object/{id}', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StreamGetObject', - full_name='vald.v1.Vald.StreamGetObject', - index=18, - containing_service=None, - input_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_ID, - output_type=vald_dot_v1_dot_payload_dot_payload__pb2._OBJECT_VECTOR, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_VALD) - -DESCRIPTOR.services_by_name['Vald'] = _VALD - -# @@protoc_insertion_point(module_scope) diff --git a/src/vald/v1/gateway/vald/vald_pb2_grpc.py b/src/vald/v1/gateway/vald/vald_pb2_grpc.py deleted file mode 100644 index b60cd57..0000000 --- a/src/vald/v1/gateway/vald/vald_pb2_grpc.py +++ /dev/null @@ -1,660 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from vald.v1.payload import payload_pb2 as vald_dot_v1_dot_payload_dot_payload__pb2 - - -class ValdStub(object): - """Missing associated documentation comment in .proto file.""" - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Exists = channel.unary_unary( - '/vald.v1.Vald/Exists', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.FromString, - ) - self.Search = channel.unary_unary( - '/vald.v1.Vald/Search', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.Request.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.Response.FromString, - ) - self.SearchByID = channel.unary_unary( - '/vald.v1.Vald/SearchByID', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.IDRequest.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.Response.FromString, - ) - self.StreamSearch = channel.stream_stream( - '/vald.v1.Vald/StreamSearch', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.Request.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.Response.FromString, - ) - self.StreamSearchByID = channel.stream_stream( - '/vald.v1.Vald/StreamSearchByID', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.IDRequest.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.Response.FromString, - ) - self.Insert = channel.unary_unary( - '/vald.v1.Vald/Insert', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - ) - self.StreamInsert = channel.stream_stream( - '/vald.v1.Vald/StreamInsert', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - ) - self.MultiInsert = channel.unary_unary( - '/vald.v1.Vald/MultiInsert', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vectors.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Locations.FromString, - ) - self.Update = channel.unary_unary( - '/vald.v1.Vald/Update', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - ) - self.StreamUpdate = channel.stream_stream( - '/vald.v1.Vald/StreamUpdate', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - ) - self.MultiUpdate = channel.unary_unary( - '/vald.v1.Vald/MultiUpdate', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vectors.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Locations.FromString, - ) - self.Upsert = channel.unary_unary( - '/vald.v1.Vald/Upsert', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - ) - self.StreamUpsert = channel.stream_stream( - '/vald.v1.Vald/StreamUpsert', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - ) - self.MultiUpsert = channel.unary_unary( - '/vald.v1.Vald/MultiUpsert', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vectors.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Locations.FromString, - ) - self.Remove = channel.unary_unary( - '/vald.v1.Vald/Remove', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - ) - self.StreamRemove = channel.stream_stream( - '/vald.v1.Vald/StreamRemove', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - ) - self.MultiRemove = channel.unary_unary( - '/vald.v1.Vald/MultiRemove', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.IDs.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Locations.FromString, - ) - self.GetObject = channel.unary_unary( - '/vald.v1.Vald/GetObject', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.FromString, - ) - self.StreamGetObject = channel.stream_stream( - '/vald.v1.Vald/StreamGetObject', - request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.SerializeToString, - response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.FromString, - ) - - -class ValdServicer(object): - """Missing associated documentation comment in .proto file.""" - - def Exists(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Search(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SearchByID(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamSearch(self, request_iterator, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamSearchByID(self, request_iterator, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Insert(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamInsert(self, request_iterator, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MultiInsert(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Update(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamUpdate(self, request_iterator, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MultiUpdate(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Upsert(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamUpsert(self, request_iterator, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MultiUpsert(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Remove(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamRemove(self, request_iterator, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MultiRemove(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetObject(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StreamGetObject(self, request_iterator, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_ValdServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Exists': grpc.unary_unary_rpc_method_handler( - servicer.Exists, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.SerializeToString, - ), - 'Search': grpc.unary_unary_rpc_method_handler( - servicer.Search, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.Request.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.Response.SerializeToString, - ), - 'SearchByID': grpc.unary_unary_rpc_method_handler( - servicer.SearchByID, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.IDRequest.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.Response.SerializeToString, - ), - 'StreamSearch': grpc.stream_stream_rpc_method_handler( - servicer.StreamSearch, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.Request.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.Response.SerializeToString, - ), - 'StreamSearchByID': grpc.stream_stream_rpc_method_handler( - servicer.StreamSearchByID, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.IDRequest.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Search.Response.SerializeToString, - ), - 'Insert': grpc.unary_unary_rpc_method_handler( - servicer.Insert, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.SerializeToString, - ), - 'StreamInsert': grpc.stream_stream_rpc_method_handler( - servicer.StreamInsert, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.SerializeToString, - ), - 'MultiInsert': grpc.unary_unary_rpc_method_handler( - servicer.MultiInsert, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vectors.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Locations.SerializeToString, - ), - 'Update': grpc.unary_unary_rpc_method_handler( - servicer.Update, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.SerializeToString, - ), - 'StreamUpdate': grpc.stream_stream_rpc_method_handler( - servicer.StreamUpdate, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.SerializeToString, - ), - 'MultiUpdate': grpc.unary_unary_rpc_method_handler( - servicer.MultiUpdate, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vectors.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Locations.SerializeToString, - ), - 'Upsert': grpc.unary_unary_rpc_method_handler( - servicer.Upsert, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.SerializeToString, - ), - 'StreamUpsert': grpc.stream_stream_rpc_method_handler( - servicer.StreamUpsert, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.SerializeToString, - ), - 'MultiUpsert': grpc.unary_unary_rpc_method_handler( - servicer.MultiUpsert, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vectors.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Locations.SerializeToString, - ), - 'Remove': grpc.unary_unary_rpc_method_handler( - servicer.Remove, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.SerializeToString, - ), - 'StreamRemove': grpc.stream_stream_rpc_method_handler( - servicer.StreamRemove, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.SerializeToString, - ), - 'MultiRemove': grpc.unary_unary_rpc_method_handler( - servicer.MultiRemove, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.IDs.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Locations.SerializeToString, - ), - 'GetObject': grpc.unary_unary_rpc_method_handler( - servicer.GetObject, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString, - ), - 'StreamGetObject': grpc.stream_stream_rpc_method_handler( - servicer.StreamGetObject, - request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.FromString, - response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'vald.v1.Vald', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class Vald(object): - """Missing associated documentation comment in .proto file.""" - - @staticmethod - def Exists(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/vald.v1.Vald/Exists', - vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def Search(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/vald.v1.Vald/Search', - vald_dot_v1_dot_payload_dot_payload__pb2.Search.Request.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Search.Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SearchByID(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/vald.v1.Vald/SearchByID', - vald_dot_v1_dot_payload_dot_payload__pb2.Search.IDRequest.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Search.Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def StreamSearch(request_iterator, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.stream_stream(request_iterator, target, '/vald.v1.Vald/StreamSearch', - vald_dot_v1_dot_payload_dot_payload__pb2.Search.Request.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Search.Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def StreamSearchByID(request_iterator, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.stream_stream(request_iterator, target, '/vald.v1.Vald/StreamSearchByID', - vald_dot_v1_dot_payload_dot_payload__pb2.Search.IDRequest.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Search.Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def Insert(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/vald.v1.Vald/Insert', - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def StreamInsert(request_iterator, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.stream_stream(request_iterator, target, '/vald.v1.Vald/StreamInsert', - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def MultiInsert(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/vald.v1.Vald/MultiInsert', - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vectors.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Locations.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def Update(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/vald.v1.Vald/Update', - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def StreamUpdate(request_iterator, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.stream_stream(request_iterator, target, '/vald.v1.Vald/StreamUpdate', - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def MultiUpdate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/vald.v1.Vald/MultiUpdate', - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vectors.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Locations.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def Upsert(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/vald.v1.Vald/Upsert', - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def StreamUpsert(request_iterator, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.stream_stream(request_iterator, target, '/vald.v1.Vald/StreamUpsert', - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def MultiUpsert(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/vald.v1.Vald/MultiUpsert', - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vectors.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Locations.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def Remove(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/vald.v1.Vald/Remove', - vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def StreamRemove(request_iterator, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.stream_stream(request_iterator, target, '/vald.v1.Vald/StreamRemove', - vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Location.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def MultiRemove(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/vald.v1.Vald/MultiRemove', - vald_dot_v1_dot_payload_dot_payload__pb2.Object.IDs.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Locations.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetObject(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/vald.v1.Vald/GetObject', - vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def StreamGetObject(request_iterator, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.stream_stream(request_iterator, target, '/vald.v1.Vald/StreamGetObject', - vald_dot_v1_dot_payload_dot_payload__pb2.Object.ID.SerializeToString, - vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/src/vald/v1/payload/payload_pb2.py b/src/vald/v1/payload/payload_pb2.py index 90834f7..d8fb81b 100644 --- a/src/vald/v1/payload/payload_pb2.py +++ b/src/vald/v1/payload/payload_pb2.py @@ -11,20 +11,19 @@ _sym_db = _symbol_database.Default() -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 from validate import validate_pb2 as validate_dot_validate__pb2 +from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( name='vald/v1/payload/payload.proto', package='payload.v1', syntax='proto3', - serialized_options=b'\n\035org.vdaas.vald.api.v1.payloadB\013ValdPayloadP\001Z*github.com/vdaas/vald/apis/grpc/v1/payload\310\342\036\001\320\342\036\001\340\342\036\001\300\343\036\001\310\343\036\001', + serialized_options=b'\n\035org.vdaas.vald.api.v1.payloadB\013ValdPayloadP\001Z*github.com/vdaas/vald/apis/grpc/v1/payload', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1dvald/v1/payload/payload.proto\x12\npayload.v1\x1a\x14gogoproto/gogo.proto\x1a\x17google/rpc/status.proto\x1a\x17validate/validate.proto\"\xae\x07\n\x06Search\x1aN\n\x07Request\x12\x18\n\x06vector\x18\x01 \x03(\x02\x42\x08\xfa\x42\x05\x92\x01\x02\x08\x02\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Search.Config\x1a<\n\x0cMultiRequest\x12,\n\x08requests\x18\x01 \x03(\x0b\x32\x1a.payload.v1.Search.Request\x1a\x42\n\tIDRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Search.Config\x1a@\n\x0eMultiIDRequest\x12.\n\x08requests\x18\x01 \x03(\x0b\x32\x1c.payload.v1.Search.IDRequest\x1ay\n\rObjectRequest\x12\x0e\n\x06object\x18\x01 \x01(\x0c\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Search.Config\x12-\n\nvectorizer\x18\x03 \x01(\x0b\x32\x19.payload.v1.Filter.Target\x1aH\n\x12MultiObjectRequest\x12\x32\n\x08requests\x18\x01 \x03(\x0b\x32 .payload.v1.Search.ObjectRequest\x1a\xcb\x01\n\x06\x43onfig\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x14\n\x03num\x18\x02 \x01(\rB\x07\xfa\x42\x04*\x02(\x01\x12\x0e\n\x06radius\x18\x03 \x01(\x02\x12\x0f\n\x07\x65psilon\x18\x04 \x01(\x02\x12\x0f\n\x07timeout\x18\x05 \x01(\x03\x12\x32\n\x0fingress_filters\x18\x06 \x01(\x0b\x32\x19.payload.v1.Filter.Config\x12\x31\n\x0e\x65gress_filters\x18\x07 \x01(\x0b\x32\x19.payload.v1.Filter.Config\x1aL\n\x08Response\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12,\n\x07results\x18\x02 \x03(\x0b\x32\x1b.payload.v1.Object.Distance\x1a;\n\tResponses\x12.\n\tresponses\x18\x01 \x03(\x0b\x32\x1b.payload.v1.Search.Response\x1ar\n\x0eStreamResponse\x12/\n\x08response\x18\x01 \x01(\x0b\x32\x1b.payload.v1.Search.ResponseH\x00\x12$\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x42\t\n\x07payload\"d\n\x06\x46ilter\x1a$\n\x06Target\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\r\x1a\x34\n\x06\x43onfig\x12*\n\x07targets\x18\x01 \x03(\x0b\x32\x19.payload.v1.Filter.Target\"\xfa\x03\n\x06Insert\x1ai\n\x07Request\x12\x33\n\x06vector\x18\x01 \x01(\x0b\x32\x19.payload.v1.Object.VectorB\x08\xfa\x42\x05\x92\x01\x02\x08\x02\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Insert.Config\x1a<\n\x0cMultiRequest\x12,\n\x08requests\x18\x01 \x03(\x0b\x32\x1a.payload.v1.Insert.Request\x1a\x92\x01\n\rObjectRequest\x12\'\n\x06object\x18\x01 \x01(\x0b\x32\x17.payload.v1.Object.Blob\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Insert.Config\x12-\n\nvectorizer\x18\x03 \x01(\x0b\x32\x19.payload.v1.Filter.Target\x1aH\n\x12MultiObjectRequest\x12\x32\n\x08requests\x18\x01 \x03(\x0b\x32 .payload.v1.Insert.ObjectRequest\x1ah\n\x06\x43onfig\x12\x1f\n\x17skip_strict_exist_check\x18\x01 \x01(\x08\x12*\n\x07\x66ilters\x18\x02 \x01(\x0b\x32\x19.payload.v1.Filter.Config\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"\xfa\x03\n\x06Update\x1ai\n\x07Request\x12\x33\n\x06vector\x18\x01 \x01(\x0b\x32\x19.payload.v1.Object.VectorB\x08\xfa\x42\x05\x92\x01\x02\x08\x02\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Update.Config\x1a<\n\x0cMultiRequest\x12,\n\x08requests\x18\x01 \x03(\x0b\x32\x1a.payload.v1.Update.Request\x1a\x92\x01\n\rObjectRequest\x12\'\n\x06object\x18\x01 \x01(\x0b\x32\x17.payload.v1.Object.Blob\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Update.Config\x12-\n\nvectorizer\x18\x03 \x01(\x0b\x32\x19.payload.v1.Filter.Target\x1aH\n\x12MultiObjectRequest\x12\x32\n\x08requests\x18\x01 \x03(\x0b\x32 .payload.v1.Update.ObjectRequest\x1ah\n\x06\x43onfig\x12\x1f\n\x17skip_strict_exist_check\x18\x01 \x01(\x08\x12*\n\x07\x66ilters\x18\x02 \x01(\x0b\x32\x19.payload.v1.Filter.Config\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"\xfa\x03\n\x06Upsert\x1ai\n\x07Request\x12\x33\n\x06vector\x18\x01 \x01(\x0b\x32\x19.payload.v1.Object.VectorB\x08\xfa\x42\x05\x92\x01\x02\x08\x02\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Upsert.Config\x1a<\n\x0cMultiRequest\x12,\n\x08requests\x18\x01 \x03(\x0b\x32\x1a.payload.v1.Upsert.Request\x1a\x92\x01\n\rObjectRequest\x12\'\n\x06object\x18\x01 \x01(\x0b\x32\x17.payload.v1.Object.Blob\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Upsert.Config\x12-\n\nvectorizer\x18\x03 \x01(\x0b\x32\x19.payload.v1.Filter.Target\x1aH\n\x12MultiObjectRequest\x12\x32\n\x08requests\x18\x01 \x03(\x0b\x32 .payload.v1.Upsert.ObjectRequest\x1ah\n\x06\x43onfig\x12\x1f\n\x17skip_strict_exist_check\x18\x01 \x01(\x08\x12*\n\x07\x66ilters\x18\x02 \x01(\x0b\x32\x19.payload.v1.Filter.Config\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"\xdd\x01\n\x06Remove\x1aW\n\x07Request\x12!\n\x02id\x18\x01 \x01(\x0b\x32\x15.payload.v1.Object.ID\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Remove.Config\x1a<\n\x0cMultiRequest\x12,\n\x08requests\x18\x01 \x03(\x0b\x32\x1a.payload.v1.Remove.Request\x1a<\n\x06\x43onfig\x12\x1f\n\x17skip_strict_exist_check\x18\x01 \x01(\x08\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"\x98\x07\n\x06Object\x1ah\n\rVectorRequest\x12+\n\x02id\x18\x01 \x01(\x0b\x32\x15.payload.v1.Object.IDB\x08\xfa\x42\x05\x92\x01\x02\x08\x02\x12*\n\x07\x66ilters\x18\x02 \x01(\x0b\x32\x19.payload.v1.Filter.Config\x1a(\n\x08\x44istance\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08\x64istance\x18\x02 \x01(\x02\x1ar\n\x0eStreamDistance\x12/\n\x08\x64istance\x18\x01 \x01(\x0b\x32\x1b.payload.v1.Object.DistanceH\x00\x12$\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x42\t\n\x07payload\x1a\x19\n\x02ID\x12\x13\n\x02id\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x1a\x12\n\x03IDs\x12\x0b\n\x03ids\x18\x01 \x03(\t\x1a\x37\n\x06Vector\x12\x13\n\x02id\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x12\x18\n\x06vector\x18\x02 \x03(\x02\x42\x08\xfa\x42\x05\x92\x01\x02\x08\x02\x1a\x35\n\x07Vectors\x12*\n\x07vectors\x18\x01 \x03(\x0b\x32\x19.payload.v1.Object.Vector\x1al\n\x0cStreamVector\x12+\n\x06vector\x18\x01 \x01(\x0b\x32\x19.payload.v1.Object.VectorH\x00\x12$\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x42\t\n\x07payload\x1a+\n\x04\x42lob\x12\x13\n\x02id\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x12\x0e\n\x06object\x18\x02 \x01(\x0c\x1a\x66\n\nStreamBlob\x12\'\n\x04\x62lob\x18\x01 \x01(\x0b\x32\x17.payload.v1.Object.BlobH\x00\x12$\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x42\t\n\x07payload\x1a\x33\n\x08Location\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x0b\n\x03ips\x18\x03 \x03(\t\x1ar\n\x0eStreamLocation\x12/\n\x08location\x18\x01 \x01(\x0b\x32\x1b.payload.v1.Object.LocationH\x00\x12$\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x42\t\n\x07payload\x1a;\n\tLocations\x12.\n\tlocations\x18\x01 \x03(\x0b\x32\x1b.payload.v1.Object.Location\"\xaf\x01\n\x04Meta\x1a\x12\n\x03Key\x12\x0b\n\x03key\x18\x01 \x01(\t\x1a\x14\n\x04Keys\x12\x0c\n\x04keys\x18\x01 \x03(\t\x1a\x12\n\x03Val\x12\x0b\n\x03val\x18\x01 \x01(\t\x1a\x14\n\x04Vals\x12\x0c\n\x04vals\x18\x01 \x03(\t\x1a\"\n\x06KeyVal\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0b\n\x03val\x18\x02 \x01(\t\x1a/\n\x07KeyVals\x12$\n\x03kvs\x18\x01 \x03(\x0b\x32\x17.payload.v1.Meta.KeyVal\";\n\x07\x43ontrol\x1a\x30\n\x12\x43reateIndexRequest\x12\x1a\n\tpool_size\x18\x01 \x01(\rB\x07\xfa\x42\x04*\x02(\x00\"\xc0\x01\n\x0bReplication\x1a\"\n\x08Recovery\x12\x16\n\x0e\x64\x65leted_agents\x18\x01 \x03(\t\x1a@\n\tRebalance\x12\x19\n\x11high_usage_agents\x18\x01 \x03(\t\x12\x18\n\x10low_usage_agents\x18\x02 \x03(\t\x1aK\n\x06\x41gents\x12\x0e\n\x06\x61gents\x18\x01 \x03(\t\x12\x16\n\x0eremoved_agents\x18\x02 \x03(\t\x12\x19\n\x11replicating_agent\x18\x03 \x03(\t\"O\n\nDiscoverer\x1a\x41\n\x07Request\x12\x15\n\x04name\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x0c\n\x04node\x18\x03 \x01(\t\"\xcc\x04\n\x06\x42\x61\x63kup\x1aK\n\tGetVector\x1a \n\x07Request\x12\x15\n\x04uuid\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x1a\x1c\n\x05Owner\x12\x13\n\x02ip\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x1a-\n\tLocations\x1a \n\x07Request\x12\x15\n\x04uuid\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x1aS\n\x06Remove\x1a \n\x07Request\x12\x15\n\x04uuid\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x1a\'\n\x0cRequestMulti\x12\x17\n\x05uuids\x18\x01 \x03(\tB\x08\xfa\x42\x05\x92\x01\x02\x08\x01\x1au\n\x02IP\x1a\x43\n\x08Register\x1a\x37\n\x07Request\x12\x15\n\x04uuid\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x12\x15\n\x03ips\x18\x02 \x03(\tB\x08\xfa\x42\x05\x92\x01\x02\x08\x01\x1a*\n\x06Remove\x1a \n\x07Request\x12\x15\n\x03ips\x18\x01 \x03(\tB\x08\xfa\x42\x05\x92\x01\x02\x08\x01\x1a=\n\x06Vector\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\x18\n\x06vector\x18\x03 \x03(\x02\x42\x08\xfa\x42\x05\x92\x01\x02\x08\x02\x12\x0b\n\x03ips\x18\x04 \x03(\t\x1a\x35\n\x07Vectors\x12*\n\x07vectors\x18\x01 \x03(\x0b\x32\x19.payload.v1.Backup.Vector\x1a\x83\x01\n\nCompressed\x1a\x33\n\x06Vector\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\x0e\n\x06vector\x18\x03 \x01(\x0c\x12\x0b\n\x03ips\x18\x04 \x03(\t\x1a@\n\x07Vectors\x12\x35\n\x07vectors\x18\x01 \x03(\x0b\x32$.payload.v1.Backup.Compressed.Vector\"\x88\x06\n\x04Info\x1a\x97\x01\n\x05Index\x1aN\n\x05\x43ount\x12\x0e\n\x06stored\x18\x01 \x01(\r\x12\x13\n\x0buncommitted\x18\x02 \x01(\r\x12\x10\n\x08indexing\x18\x03 \x01(\x08\x12\x0e\n\x06saving\x18\x04 \x01(\x08\x1a>\n\x04UUID\x1a\x19\n\tCommitted\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x1a\x1b\n\x0bUncommitted\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x1a\xbe\x01\n\x03Pod\x12\x10\n\x08\x61pp_name\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x13\n\x02ip\x18\x04 \x01(\tB\x07\xfa\x42\x04r\x02x\x01\x12!\n\x03\x63pu\x18\x05 \x01(\x0b\x32\x14.payload.v1.Info.CPU\x12\'\n\x06memory\x18\x06 \x01(\x0b\x32\x17.payload.v1.Info.Memory\x12#\n\x04node\x18\x07 \x01(\x0b\x32\x15.payload.v1.Info.Node\x1a\xb3\x01\n\x04Node\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rinternal_addr\x18\x02 \x01(\t\x12\x15\n\rexternal_addr\x18\x03 \x01(\t\x12!\n\x03\x63pu\x18\x04 \x01(\x0b\x32\x14.payload.v1.Info.CPU\x12\'\n\x06memory\x18\x05 \x01(\x0b\x32\x17.payload.v1.Info.Memory\x12#\n\x04Pods\x18\x06 \x01(\x0b\x32\x15.payload.v1.Info.Pods\x1a\x34\n\x03\x43PU\x12\r\n\x05limit\x18\x01 \x01(\x01\x12\x0f\n\x07request\x18\x02 \x01(\x01\x12\r\n\x05usage\x18\x03 \x01(\x01\x1a\x37\n\x06Memory\x12\r\n\x05limit\x18\x01 \x01(\x01\x12\x0f\n\x07request\x18\x02 \x01(\x01\x12\r\n\x05usage\x18\x03 \x01(\x01\x1a\x34\n\x04Pods\x12,\n\x04pods\x18\x01 \x03(\x0b\x32\x14.payload.v1.Info.PodB\x08\xfa\x42\x05\x92\x01\x02\x08\x01\x1a\x37\n\x05Nodes\x12.\n\x05nodes\x18\x01 \x03(\x0b\x32\x15.payload.v1.Info.NodeB\x08\xfa\x42\x05\x92\x01\x02\x08\x01\x1a\x11\n\x03IPs\x12\n\n\x02ip\x18\x01 \x03(\t\"\x07\n\x05\x45mptyBn\n\x1dorg.vdaas.vald.api.v1.payloadB\x0bValdPayloadP\x01Z*github.com/vdaas/vald/apis/grpc/v1/payload\xc8\xe2\x1e\x01\xd0\xe2\x1e\x01\xe0\xe2\x1e\x01\xc0\xe3\x1e\x01\xc8\xe3\x1e\x01\x62\x06proto3' + serialized_pb=b'\n\x1dvald/v1/payload/payload.proto\x12\npayload.v1\x1a\x17validate/validate.proto\x1a\x17google/rpc/status.proto\"\xae\x07\n\x06Search\x1aN\n\x07Request\x12\x18\n\x06vector\x18\x01 \x03(\x02\x42\x08\xfa\x42\x05\x92\x01\x02\x08\x02\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Search.Config\x1a<\n\x0cMultiRequest\x12,\n\x08requests\x18\x01 \x03(\x0b\x32\x1a.payload.v1.Search.Request\x1a\x42\n\tIDRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Search.Config\x1a@\n\x0eMultiIDRequest\x12.\n\x08requests\x18\x01 \x03(\x0b\x32\x1c.payload.v1.Search.IDRequest\x1ay\n\rObjectRequest\x12\x0e\n\x06object\x18\x01 \x01(\x0c\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Search.Config\x12-\n\nvectorizer\x18\x03 \x01(\x0b\x32\x19.payload.v1.Filter.Target\x1aH\n\x12MultiObjectRequest\x12\x32\n\x08requests\x18\x01 \x03(\x0b\x32 .payload.v1.Search.ObjectRequest\x1a\xcb\x01\n\x06\x43onfig\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x14\n\x03num\x18\x02 \x01(\rB\x07\xfa\x42\x04*\x02(\x01\x12\x0e\n\x06radius\x18\x03 \x01(\x02\x12\x0f\n\x07\x65psilon\x18\x04 \x01(\x02\x12\x0f\n\x07timeout\x18\x05 \x01(\x03\x12\x32\n\x0fingress_filters\x18\x06 \x01(\x0b\x32\x19.payload.v1.Filter.Config\x12\x31\n\x0e\x65gress_filters\x18\x07 \x01(\x0b\x32\x19.payload.v1.Filter.Config\x1aL\n\x08Response\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12,\n\x07results\x18\x02 \x03(\x0b\x32\x1b.payload.v1.Object.Distance\x1a;\n\tResponses\x12.\n\tresponses\x18\x01 \x03(\x0b\x32\x1b.payload.v1.Search.Response\x1ar\n\x0eStreamResponse\x12/\n\x08response\x18\x01 \x01(\x0b\x32\x1b.payload.v1.Search.ResponseH\x00\x12$\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x42\t\n\x07payload\"d\n\x06\x46ilter\x1a$\n\x06Target\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\r\x1a\x34\n\x06\x43onfig\x12*\n\x07targets\x18\x01 \x03(\x0b\x32\x19.payload.v1.Filter.Target\"\xfa\x03\n\x06Insert\x1ai\n\x07Request\x12\x33\n\x06vector\x18\x01 \x01(\x0b\x32\x19.payload.v1.Object.VectorB\x08\xfa\x42\x05\x92\x01\x02\x08\x02\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Insert.Config\x1a<\n\x0cMultiRequest\x12,\n\x08requests\x18\x01 \x03(\x0b\x32\x1a.payload.v1.Insert.Request\x1a\x92\x01\n\rObjectRequest\x12\'\n\x06object\x18\x01 \x01(\x0b\x32\x17.payload.v1.Object.Blob\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Insert.Config\x12-\n\nvectorizer\x18\x03 \x01(\x0b\x32\x19.payload.v1.Filter.Target\x1aH\n\x12MultiObjectRequest\x12\x32\n\x08requests\x18\x01 \x03(\x0b\x32 .payload.v1.Insert.ObjectRequest\x1ah\n\x06\x43onfig\x12\x1f\n\x17skip_strict_exist_check\x18\x01 \x01(\x08\x12*\n\x07\x66ilters\x18\x02 \x01(\x0b\x32\x19.payload.v1.Filter.Config\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"\xfa\x03\n\x06Update\x1ai\n\x07Request\x12\x33\n\x06vector\x18\x01 \x01(\x0b\x32\x19.payload.v1.Object.VectorB\x08\xfa\x42\x05\x92\x01\x02\x08\x02\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Update.Config\x1a<\n\x0cMultiRequest\x12,\n\x08requests\x18\x01 \x03(\x0b\x32\x1a.payload.v1.Update.Request\x1a\x92\x01\n\rObjectRequest\x12\'\n\x06object\x18\x01 \x01(\x0b\x32\x17.payload.v1.Object.Blob\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Update.Config\x12-\n\nvectorizer\x18\x03 \x01(\x0b\x32\x19.payload.v1.Filter.Target\x1aH\n\x12MultiObjectRequest\x12\x32\n\x08requests\x18\x01 \x03(\x0b\x32 .payload.v1.Update.ObjectRequest\x1ah\n\x06\x43onfig\x12\x1f\n\x17skip_strict_exist_check\x18\x01 \x01(\x08\x12*\n\x07\x66ilters\x18\x02 \x01(\x0b\x32\x19.payload.v1.Filter.Config\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"\xfa\x03\n\x06Upsert\x1ai\n\x07Request\x12\x33\n\x06vector\x18\x01 \x01(\x0b\x32\x19.payload.v1.Object.VectorB\x08\xfa\x42\x05\x92\x01\x02\x08\x02\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Upsert.Config\x1a<\n\x0cMultiRequest\x12,\n\x08requests\x18\x01 \x03(\x0b\x32\x1a.payload.v1.Upsert.Request\x1a\x92\x01\n\rObjectRequest\x12\'\n\x06object\x18\x01 \x01(\x0b\x32\x17.payload.v1.Object.Blob\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Upsert.Config\x12-\n\nvectorizer\x18\x03 \x01(\x0b\x32\x19.payload.v1.Filter.Target\x1aH\n\x12MultiObjectRequest\x12\x32\n\x08requests\x18\x01 \x03(\x0b\x32 .payload.v1.Upsert.ObjectRequest\x1ah\n\x06\x43onfig\x12\x1f\n\x17skip_strict_exist_check\x18\x01 \x01(\x08\x12*\n\x07\x66ilters\x18\x02 \x01(\x0b\x32\x19.payload.v1.Filter.Config\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"\xdd\x01\n\x06Remove\x1aW\n\x07Request\x12!\n\x02id\x18\x01 \x01(\x0b\x32\x15.payload.v1.Object.ID\x12)\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x19.payload.v1.Remove.Config\x1a<\n\x0cMultiRequest\x12,\n\x08requests\x18\x01 \x03(\x0b\x32\x1a.payload.v1.Remove.Request\x1a<\n\x06\x43onfig\x12\x1f\n\x17skip_strict_exist_check\x18\x01 \x01(\x08\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"\x98\x07\n\x06Object\x1ah\n\rVectorRequest\x12+\n\x02id\x18\x01 \x01(\x0b\x32\x15.payload.v1.Object.IDB\x08\xfa\x42\x05\x92\x01\x02\x08\x02\x12*\n\x07\x66ilters\x18\x02 \x01(\x0b\x32\x19.payload.v1.Filter.Config\x1a(\n\x08\x44istance\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08\x64istance\x18\x02 \x01(\x02\x1ar\n\x0eStreamDistance\x12/\n\x08\x64istance\x18\x01 \x01(\x0b\x32\x1b.payload.v1.Object.DistanceH\x00\x12$\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x42\t\n\x07payload\x1a\x19\n\x02ID\x12\x13\n\x02id\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x1a\x12\n\x03IDs\x12\x0b\n\x03ids\x18\x01 \x03(\t\x1a\x37\n\x06Vector\x12\x13\n\x02id\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x12\x18\n\x06vector\x18\x02 \x03(\x02\x42\x08\xfa\x42\x05\x92\x01\x02\x08\x02\x1a\x35\n\x07Vectors\x12*\n\x07vectors\x18\x01 \x03(\x0b\x32\x19.payload.v1.Object.Vector\x1al\n\x0cStreamVector\x12+\n\x06vector\x18\x01 \x01(\x0b\x32\x19.payload.v1.Object.VectorH\x00\x12$\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x42\t\n\x07payload\x1a+\n\x04\x42lob\x12\x13\n\x02id\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x12\x0e\n\x06object\x18\x02 \x01(\x0c\x1a\x66\n\nStreamBlob\x12\'\n\x04\x62lob\x18\x01 \x01(\x0b\x32\x17.payload.v1.Object.BlobH\x00\x12$\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x42\t\n\x07payload\x1a\x33\n\x08Location\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x0b\n\x03ips\x18\x03 \x03(\t\x1ar\n\x0eStreamLocation\x12/\n\x08location\x18\x01 \x01(\x0b\x32\x1b.payload.v1.Object.LocationH\x00\x12$\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x42\t\n\x07payload\x1a;\n\tLocations\x12.\n\tlocations\x18\x01 \x03(\x0b\x32\x1b.payload.v1.Object.Location\"\xaf\x01\n\x04Meta\x1a\x12\n\x03Key\x12\x0b\n\x03key\x18\x01 \x01(\t\x1a\x14\n\x04Keys\x12\x0c\n\x04keys\x18\x01 \x03(\t\x1a\x12\n\x03Val\x12\x0b\n\x03val\x18\x01 \x01(\t\x1a\x14\n\x04Vals\x12\x0c\n\x04vals\x18\x01 \x03(\t\x1a\"\n\x06KeyVal\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0b\n\x03val\x18\x02 \x01(\t\x1a/\n\x07KeyVals\x12$\n\x03kvs\x18\x01 \x03(\x0b\x32\x17.payload.v1.Meta.KeyVal\";\n\x07\x43ontrol\x1a\x30\n\x12\x43reateIndexRequest\x12\x1a\n\tpool_size\x18\x01 \x01(\rB\x07\xfa\x42\x04*\x02(\x00\"\xc0\x01\n\x0bReplication\x1a\"\n\x08Recovery\x12\x16\n\x0e\x64\x65leted_agents\x18\x01 \x03(\t\x1a@\n\tRebalance\x12\x19\n\x11high_usage_agents\x18\x01 \x03(\t\x12\x18\n\x10low_usage_agents\x18\x02 \x03(\t\x1aK\n\x06\x41gents\x12\x0e\n\x06\x61gents\x18\x01 \x03(\t\x12\x16\n\x0eremoved_agents\x18\x02 \x03(\t\x12\x19\n\x11replicating_agent\x18\x03 \x03(\t\"O\n\nDiscoverer\x1a\x41\n\x07Request\x12\x15\n\x04name\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x0c\n\x04node\x18\x03 \x01(\t\"\xcc\x04\n\x06\x42\x61\x63kup\x1aK\n\tGetVector\x1a \n\x07Request\x12\x15\n\x04uuid\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x1a\x1c\n\x05Owner\x12\x13\n\x02ip\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x1a-\n\tLocations\x1a \n\x07Request\x12\x15\n\x04uuid\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x1aS\n\x06Remove\x1a \n\x07Request\x12\x15\n\x04uuid\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x1a\'\n\x0cRequestMulti\x12\x17\n\x05uuids\x18\x01 \x03(\tB\x08\xfa\x42\x05\x92\x01\x02\x08\x01\x1au\n\x02IP\x1a\x43\n\x08Register\x1a\x37\n\x07Request\x12\x15\n\x04uuid\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x12\x15\n\x03ips\x18\x02 \x03(\tB\x08\xfa\x42\x05\x92\x01\x02\x08\x01\x1a*\n\x06Remove\x1a \n\x07Request\x12\x15\n\x03ips\x18\x01 \x03(\tB\x08\xfa\x42\x05\x92\x01\x02\x08\x01\x1a=\n\x06Vector\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\x18\n\x06vector\x18\x03 \x03(\x02\x42\x08\xfa\x42\x05\x92\x01\x02\x08\x02\x12\x0b\n\x03ips\x18\x04 \x03(\t\x1a\x35\n\x07Vectors\x12*\n\x07vectors\x18\x01 \x03(\x0b\x32\x19.payload.v1.Backup.Vector\x1a\x83\x01\n\nCompressed\x1a\x33\n\x06Vector\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\x0e\n\x06vector\x18\x03 \x01(\x0c\x12\x0b\n\x03ips\x18\x04 \x03(\t\x1a@\n\x07Vectors\x12\x35\n\x07vectors\x18\x01 \x03(\x0b\x32$.payload.v1.Backup.Compressed.Vector\"\x88\x06\n\x04Info\x1a\x97\x01\n\x05Index\x1aN\n\x05\x43ount\x12\x0e\n\x06stored\x18\x01 \x01(\r\x12\x13\n\x0buncommitted\x18\x02 \x01(\r\x12\x10\n\x08indexing\x18\x03 \x01(\x08\x12\x0e\n\x06saving\x18\x04 \x01(\x08\x1a>\n\x04UUID\x1a\x19\n\tCommitted\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x1a\x1b\n\x0bUncommitted\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x1a\xbe\x01\n\x03Pod\x12\x10\n\x08\x61pp_name\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x13\n\x02ip\x18\x04 \x01(\tB\x07\xfa\x42\x04r\x02x\x01\x12!\n\x03\x63pu\x18\x05 \x01(\x0b\x32\x14.payload.v1.Info.CPU\x12\'\n\x06memory\x18\x06 \x01(\x0b\x32\x17.payload.v1.Info.Memory\x12#\n\x04node\x18\x07 \x01(\x0b\x32\x15.payload.v1.Info.Node\x1a\xb3\x01\n\x04Node\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rinternal_addr\x18\x02 \x01(\t\x12\x15\n\rexternal_addr\x18\x03 \x01(\t\x12!\n\x03\x63pu\x18\x04 \x01(\x0b\x32\x14.payload.v1.Info.CPU\x12\'\n\x06memory\x18\x05 \x01(\x0b\x32\x17.payload.v1.Info.Memory\x12#\n\x04Pods\x18\x06 \x01(\x0b\x32\x15.payload.v1.Info.Pods\x1a\x34\n\x03\x43PU\x12\r\n\x05limit\x18\x01 \x01(\x01\x12\x0f\n\x07request\x18\x02 \x01(\x01\x12\r\n\x05usage\x18\x03 \x01(\x01\x1a\x37\n\x06Memory\x12\r\n\x05limit\x18\x01 \x01(\x01\x12\x0f\n\x07request\x18\x02 \x01(\x01\x12\r\n\x05usage\x18\x03 \x01(\x01\x1a\x34\n\x04Pods\x12,\n\x04pods\x18\x01 \x03(\x0b\x32\x14.payload.v1.Info.PodB\x08\xfa\x42\x05\x92\x01\x02\x08\x01\x1a\x37\n\x05Nodes\x12.\n\x05nodes\x18\x01 \x03(\x0b\x32\x15.payload.v1.Info.NodeB\x08\xfa\x42\x05\x92\x01\x02\x08\x01\x1a\x11\n\x03IPs\x12\n\n\x02ip\x18\x01 \x03(\t\"\x07\n\x05\x45mptyBZ\n\x1dorg.vdaas.vald.api.v1.payloadB\x0bValdPayloadP\x01Z*github.com/vdaas/vald/apis/grpc/v1/payloadb\x06proto3' , - dependencies=[gogoproto_dot_gogo__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,validate_dot_validate__pb2.DESCRIPTOR,]) + dependencies=[validate_dot_validate__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) @@ -63,8 +62,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=128, - serialized_end=206, + serialized_start=106, + serialized_end=184, ) _SEARCH_MULTIREQUEST = _descriptor.Descriptor( @@ -94,8 +93,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=208, - serialized_end=268, + serialized_start=186, + serialized_end=246, ) _SEARCH_IDREQUEST = _descriptor.Descriptor( @@ -132,8 +131,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=270, - serialized_end=336, + serialized_start=248, + serialized_end=314, ) _SEARCH_MULTIIDREQUEST = _descriptor.Descriptor( @@ -163,8 +162,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=338, - serialized_end=402, + serialized_start=316, + serialized_end=380, ) _SEARCH_OBJECTREQUEST = _descriptor.Descriptor( @@ -208,8 +207,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=404, - serialized_end=525, + serialized_start=382, + serialized_end=503, ) _SEARCH_MULTIOBJECTREQUEST = _descriptor.Descriptor( @@ -239,8 +238,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=527, - serialized_end=599, + serialized_start=505, + serialized_end=577, ) _SEARCH_CONFIG = _descriptor.Descriptor( @@ -312,8 +311,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=602, - serialized_end=805, + serialized_start=580, + serialized_end=783, ) _SEARCH_RESPONSE = _descriptor.Descriptor( @@ -350,8 +349,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=807, - serialized_end=883, + serialized_start=785, + serialized_end=861, ) _SEARCH_RESPONSES = _descriptor.Descriptor( @@ -381,8 +380,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=885, - serialized_end=944, + serialized_start=863, + serialized_end=922, ) _SEARCH_STREAMRESPONSE = _descriptor.Descriptor( @@ -424,8 +423,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=946, - serialized_end=1060, + serialized_start=924, + serialized_end=1038, ) _SEARCH = _descriptor.Descriptor( @@ -448,8 +447,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=118, - serialized_end=1060, + serialized_start=96, + serialized_end=1038, ) @@ -487,8 +486,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1072, - serialized_end=1108, + serialized_start=1050, + serialized_end=1086, ) _FILTER_CONFIG = _descriptor.Descriptor( @@ -518,8 +517,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1110, - serialized_end=1162, + serialized_start=1088, + serialized_end=1140, ) _FILTER = _descriptor.Descriptor( @@ -542,8 +541,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1062, - serialized_end=1162, + serialized_start=1040, + serialized_end=1140, ) @@ -581,8 +580,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1175, - serialized_end=1280, + serialized_start=1153, + serialized_end=1258, ) _INSERT_MULTIREQUEST = _descriptor.Descriptor( @@ -612,8 +611,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1282, - serialized_end=1342, + serialized_start=1260, + serialized_end=1320, ) _INSERT_OBJECTREQUEST = _descriptor.Descriptor( @@ -657,8 +656,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1345, - serialized_end=1491, + serialized_start=1323, + serialized_end=1469, ) _INSERT_MULTIOBJECTREQUEST = _descriptor.Descriptor( @@ -688,8 +687,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1493, - serialized_end=1565, + serialized_start=1471, + serialized_end=1543, ) _INSERT_CONFIG = _descriptor.Descriptor( @@ -733,8 +732,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1567, - serialized_end=1671, + serialized_start=1545, + serialized_end=1649, ) _INSERT = _descriptor.Descriptor( @@ -757,8 +756,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1165, - serialized_end=1671, + serialized_start=1143, + serialized_end=1649, ) @@ -796,8 +795,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1684, - serialized_end=1789, + serialized_start=1662, + serialized_end=1767, ) _UPDATE_MULTIREQUEST = _descriptor.Descriptor( @@ -827,8 +826,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1791, - serialized_end=1851, + serialized_start=1769, + serialized_end=1829, ) _UPDATE_OBJECTREQUEST = _descriptor.Descriptor( @@ -872,8 +871,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1854, - serialized_end=2000, + serialized_start=1832, + serialized_end=1978, ) _UPDATE_MULTIOBJECTREQUEST = _descriptor.Descriptor( @@ -903,8 +902,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2002, - serialized_end=2074, + serialized_start=1980, + serialized_end=2052, ) _UPDATE_CONFIG = _descriptor.Descriptor( @@ -948,8 +947,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1567, - serialized_end=1671, + serialized_start=1545, + serialized_end=1649, ) _UPDATE = _descriptor.Descriptor( @@ -972,8 +971,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1674, - serialized_end=2180, + serialized_start=1652, + serialized_end=2158, ) @@ -1011,8 +1010,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2193, - serialized_end=2298, + serialized_start=2171, + serialized_end=2276, ) _UPSERT_MULTIREQUEST = _descriptor.Descriptor( @@ -1042,8 +1041,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2300, - serialized_end=2360, + serialized_start=2278, + serialized_end=2338, ) _UPSERT_OBJECTREQUEST = _descriptor.Descriptor( @@ -1087,8 +1086,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2363, - serialized_end=2509, + serialized_start=2341, + serialized_end=2487, ) _UPSERT_MULTIOBJECTREQUEST = _descriptor.Descriptor( @@ -1118,8 +1117,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2511, - serialized_end=2583, + serialized_start=2489, + serialized_end=2561, ) _UPSERT_CONFIG = _descriptor.Descriptor( @@ -1163,8 +1162,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1567, - serialized_end=1671, + serialized_start=1545, + serialized_end=1649, ) _UPSERT = _descriptor.Descriptor( @@ -1187,8 +1186,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2183, - serialized_end=2689, + serialized_start=2161, + serialized_end=2667, ) @@ -1226,8 +1225,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2702, - serialized_end=2789, + serialized_start=2680, + serialized_end=2767, ) _REMOVE_MULTIREQUEST = _descriptor.Descriptor( @@ -1257,8 +1256,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2791, - serialized_end=2851, + serialized_start=2769, + serialized_end=2829, ) _REMOVE_CONFIG = _descriptor.Descriptor( @@ -1295,8 +1294,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2853, - serialized_end=2913, + serialized_start=2831, + serialized_end=2891, ) _REMOVE = _descriptor.Descriptor( @@ -1319,8 +1318,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2692, - serialized_end=2913, + serialized_start=2670, + serialized_end=2891, ) @@ -1358,8 +1357,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2926, - serialized_end=3030, + serialized_start=2904, + serialized_end=3008, ) _OBJECT_DISTANCE = _descriptor.Descriptor( @@ -1396,8 +1395,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3032, - serialized_end=3072, + serialized_start=3010, + serialized_end=3050, ) _OBJECT_STREAMDISTANCE = _descriptor.Descriptor( @@ -1439,8 +1438,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=3074, - serialized_end=3188, + serialized_start=3052, + serialized_end=3166, ) _OBJECT_ID = _descriptor.Descriptor( @@ -1470,8 +1469,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3190, - serialized_end=3215, + serialized_start=3168, + serialized_end=3193, ) _OBJECT_IDS = _descriptor.Descriptor( @@ -1501,8 +1500,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3217, - serialized_end=3235, + serialized_start=3195, + serialized_end=3213, ) _OBJECT_VECTOR = _descriptor.Descriptor( @@ -1539,8 +1538,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3237, - serialized_end=3292, + serialized_start=3215, + serialized_end=3270, ) _OBJECT_VECTORS = _descriptor.Descriptor( @@ -1570,8 +1569,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3294, - serialized_end=3347, + serialized_start=3272, + serialized_end=3325, ) _OBJECT_STREAMVECTOR = _descriptor.Descriptor( @@ -1613,8 +1612,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=3349, - serialized_end=3457, + serialized_start=3327, + serialized_end=3435, ) _OBJECT_BLOB = _descriptor.Descriptor( @@ -1651,8 +1650,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3459, - serialized_end=3502, + serialized_start=3437, + serialized_end=3480, ) _OBJECT_STREAMBLOB = _descriptor.Descriptor( @@ -1694,8 +1693,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=3504, - serialized_end=3606, + serialized_start=3482, + serialized_end=3584, ) _OBJECT_LOCATION = _descriptor.Descriptor( @@ -1739,8 +1738,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3608, - serialized_end=3659, + serialized_start=3586, + serialized_end=3637, ) _OBJECT_STREAMLOCATION = _descriptor.Descriptor( @@ -1782,8 +1781,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=3661, - serialized_end=3775, + serialized_start=3639, + serialized_end=3753, ) _OBJECT_LOCATIONS = _descriptor.Descriptor( @@ -1813,8 +1812,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3777, - serialized_end=3836, + serialized_start=3755, + serialized_end=3814, ) _OBJECT = _descriptor.Descriptor( @@ -1837,8 +1836,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2916, - serialized_end=3836, + serialized_start=2894, + serialized_end=3814, ) @@ -1869,8 +1868,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3847, - serialized_end=3865, + serialized_start=3825, + serialized_end=3843, ) _META_KEYS = _descriptor.Descriptor( @@ -1900,8 +1899,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3867, - serialized_end=3887, + serialized_start=3845, + serialized_end=3865, ) _META_VAL = _descriptor.Descriptor( @@ -1931,8 +1930,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3889, - serialized_end=3907, + serialized_start=3867, + serialized_end=3885, ) _META_VALS = _descriptor.Descriptor( @@ -1962,8 +1961,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3909, - serialized_end=3929, + serialized_start=3887, + serialized_end=3907, ) _META_KEYVAL = _descriptor.Descriptor( @@ -2000,8 +1999,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3931, - serialized_end=3965, + serialized_start=3909, + serialized_end=3943, ) _META_KEYVALS = _descriptor.Descriptor( @@ -2031,8 +2030,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3967, - serialized_end=4014, + serialized_start=3945, + serialized_end=3992, ) _META = _descriptor.Descriptor( @@ -2055,8 +2054,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3839, - serialized_end=4014, + serialized_start=3817, + serialized_end=3992, ) @@ -2087,8 +2086,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4027, - serialized_end=4075, + serialized_start=4005, + serialized_end=4053, ) _CONTROL = _descriptor.Descriptor( @@ -2111,8 +2110,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4016, - serialized_end=4075, + serialized_start=3994, + serialized_end=4053, ) @@ -2143,8 +2142,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4093, - serialized_end=4127, + serialized_start=4071, + serialized_end=4105, ) _REPLICATION_REBALANCE = _descriptor.Descriptor( @@ -2181,8 +2180,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4129, - serialized_end=4193, + serialized_start=4107, + serialized_end=4171, ) _REPLICATION_AGENTS = _descriptor.Descriptor( @@ -2226,8 +2225,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4195, - serialized_end=4270, + serialized_start=4173, + serialized_end=4248, ) _REPLICATION = _descriptor.Descriptor( @@ -2250,8 +2249,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4078, - serialized_end=4270, + serialized_start=4056, + serialized_end=4248, ) @@ -2296,8 +2295,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4286, - serialized_end=4351, + serialized_start=4264, + serialized_end=4329, ) _DISCOVERER = _descriptor.Descriptor( @@ -2320,8 +2319,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4272, - serialized_end=4351, + serialized_start=4250, + serialized_end=4329, ) @@ -2352,8 +2351,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4377, - serialized_end=4409, + serialized_start=4355, + serialized_end=4387, ) _BACKUP_GETVECTOR_OWNER = _descriptor.Descriptor( @@ -2383,8 +2382,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4411, - serialized_end=4439, + serialized_start=4389, + serialized_end=4417, ) _BACKUP_GETVECTOR = _descriptor.Descriptor( @@ -2407,8 +2406,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4364, - serialized_end=4439, + serialized_start=4342, + serialized_end=4417, ) _BACKUP_LOCATIONS_REQUEST = _descriptor.Descriptor( @@ -2438,8 +2437,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4377, - serialized_end=4409, + serialized_start=4355, + serialized_end=4387, ) _BACKUP_LOCATIONS = _descriptor.Descriptor( @@ -2462,8 +2461,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4441, - serialized_end=4486, + serialized_start=4419, + serialized_end=4464, ) _BACKUP_REMOVE_REQUEST = _descriptor.Descriptor( @@ -2493,8 +2492,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4377, - serialized_end=4409, + serialized_start=4355, + serialized_end=4387, ) _BACKUP_REMOVE_REQUESTMULTI = _descriptor.Descriptor( @@ -2524,8 +2523,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4532, - serialized_end=4571, + serialized_start=4510, + serialized_end=4549, ) _BACKUP_REMOVE = _descriptor.Descriptor( @@ -2548,8 +2547,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4488, - serialized_end=4571, + serialized_start=4466, + serialized_end=4549, ) _BACKUP_IP_REGISTER_REQUEST = _descriptor.Descriptor( @@ -2586,8 +2585,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4591, - serialized_end=4646, + serialized_start=4569, + serialized_end=4624, ) _BACKUP_IP_REGISTER = _descriptor.Descriptor( @@ -2610,8 +2609,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4579, - serialized_end=4646, + serialized_start=4557, + serialized_end=4624, ) _BACKUP_IP_REMOVE_REQUEST = _descriptor.Descriptor( @@ -2641,8 +2640,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4658, - serialized_end=4690, + serialized_start=4636, + serialized_end=4668, ) _BACKUP_IP_REMOVE = _descriptor.Descriptor( @@ -2665,8 +2664,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4648, - serialized_end=4690, + serialized_start=4626, + serialized_end=4668, ) _BACKUP_IP = _descriptor.Descriptor( @@ -2689,8 +2688,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4573, - serialized_end=4690, + serialized_start=4551, + serialized_end=4668, ) _BACKUP_VECTOR = _descriptor.Descriptor( @@ -2734,8 +2733,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4692, - serialized_end=4753, + serialized_start=4670, + serialized_end=4731, ) _BACKUP_VECTORS = _descriptor.Descriptor( @@ -2765,8 +2764,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4755, - serialized_end=4808, + serialized_start=4733, + serialized_end=4786, ) _BACKUP_COMPRESSED_VECTOR = _descriptor.Descriptor( @@ -2810,8 +2809,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4825, - serialized_end=4876, + serialized_start=4803, + serialized_end=4854, ) _BACKUP_COMPRESSED_VECTORS = _descriptor.Descriptor( @@ -2841,8 +2840,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4878, - serialized_end=4942, + serialized_start=4856, + serialized_end=4920, ) _BACKUP_COMPRESSED = _descriptor.Descriptor( @@ -2865,8 +2864,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4811, - serialized_end=4942, + serialized_start=4789, + serialized_end=4920, ) _BACKUP = _descriptor.Descriptor( @@ -2889,8 +2888,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4354, - serialized_end=4942, + serialized_start=4332, + serialized_end=4920, ) @@ -2942,8 +2941,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4963, - serialized_end=5041, + serialized_start=4941, + serialized_end=5019, ) _INFO_INDEX_UUID_COMMITTED = _descriptor.Descriptor( @@ -2973,8 +2972,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5051, - serialized_end=5076, + serialized_start=5029, + serialized_end=5054, ) _INFO_INDEX_UUID_UNCOMMITTED = _descriptor.Descriptor( @@ -3004,8 +3003,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5078, - serialized_end=5105, + serialized_start=5056, + serialized_end=5083, ) _INFO_INDEX_UUID = _descriptor.Descriptor( @@ -3028,8 +3027,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5043, - serialized_end=5105, + serialized_start=5021, + serialized_end=5083, ) _INFO_INDEX = _descriptor.Descriptor( @@ -3052,8 +3051,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4954, - serialized_end=5105, + serialized_start=4932, + serialized_end=5083, ) _INFO_POD = _descriptor.Descriptor( @@ -3125,8 +3124,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5108, - serialized_end=5298, + serialized_start=5086, + serialized_end=5276, ) _INFO_NODE = _descriptor.Descriptor( @@ -3191,8 +3190,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5301, - serialized_end=5480, + serialized_start=5279, + serialized_end=5458, ) _INFO_CPU = _descriptor.Descriptor( @@ -3236,8 +3235,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5482, - serialized_end=5534, + serialized_start=5460, + serialized_end=5512, ) _INFO_MEMORY = _descriptor.Descriptor( @@ -3281,8 +3280,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5536, - serialized_end=5591, + serialized_start=5514, + serialized_end=5569, ) _INFO_PODS = _descriptor.Descriptor( @@ -3312,8 +3311,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5593, - serialized_end=5645, + serialized_start=5571, + serialized_end=5623, ) _INFO_NODES = _descriptor.Descriptor( @@ -3343,8 +3342,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5647, - serialized_end=5702, + serialized_start=5625, + serialized_end=5680, ) _INFO_IPS = _descriptor.Descriptor( @@ -3374,8 +3373,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5704, - serialized_end=5721, + serialized_start=5682, + serialized_end=5699, ) _INFO = _descriptor.Descriptor( @@ -3398,8 +3397,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4945, - serialized_end=5721, + serialized_start=4923, + serialized_end=5699, ) @@ -3423,8 +3422,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5723, - serialized_end=5730, + serialized_start=5701, + serialized_end=5708, ) _SEARCH_REQUEST.fields_by_name['config'].message_type = _SEARCH_CONFIG diff --git a/src/vald/v1/vald/filter_pb2.py b/src/vald/v1/vald/filter_pb2.py index 5d96106..d9334bb 100644 --- a/src/vald/v1/vald/filter_pb2.py +++ b/src/vald/v1/vald/filter_pb2.py @@ -12,7 +12,6 @@ from vald.v1.payload import payload_pb2 as vald_dot_v1_dot_payload_dot_payload__pb2 -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 @@ -20,11 +19,11 @@ name='vald/v1/vald/filter.proto', package='vald.v1', syntax='proto3', - serialized_options=b'\n\032org.vdaas.vald.api.v1.valdB\nValdFilterP\001Z\'github.com/vdaas/vald/apis/grpc/v1/vald\310\342\036\001\320\342\036\001\340\342\036\001\300\343\036\001\310\343\036\001', + serialized_options=b'\n\032org.vdaas.vald.api.v1.valdB\nValdFilterP\001Z\'github.com/vdaas/vald/apis/grpc/v1/vald', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x19vald/v1/vald/filter.proto\x12\x07vald.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto2\xac\n\n\x06\x46ilter\x12h\n\x0cSearchObject\x12 .payload.v1.Search.ObjectRequest\x1a\x1b.payload.v1.Search.Response\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/search/object:\x01*\x12|\n\x11MultiSearchObject\x12%.payload.v1.Search.MultiObjectRequest\x1a\x1c.payload.v1.Search.Responses\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/search/object/multiple:\x01*\x12_\n\x12StreamSearchObject\x12 .payload.v1.Search.ObjectRequest\x1a!.payload.v1.Search.StreamResponse\"\x00(\x01\x30\x01\x12h\n\x0cInsertObject\x12 .payload.v1.Insert.ObjectRequest\x1a\x1b.payload.v1.Object.Location\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/insert/object:\x01*\x12_\n\x12StreamInsertObject\x12 .payload.v1.Insert.ObjectRequest\x1a!.payload.v1.Object.StreamLocation\"\x00(\x01\x30\x01\x12|\n\x11MultiInsertObject\x12%.payload.v1.Insert.MultiObjectRequest\x1a\x1c.payload.v1.Object.Locations\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/insert/object/multiple:\x01*\x12h\n\x0cUpdateObject\x12 .payload.v1.Update.ObjectRequest\x1a\x1b.payload.v1.Object.Location\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/update/object:\x01*\x12_\n\x12StreamUpdateObject\x12 .payload.v1.Update.ObjectRequest\x1a!.payload.v1.Object.StreamLocation\"\x00(\x01\x30\x01\x12|\n\x11MultiUpdateObject\x12%.payload.v1.Update.MultiObjectRequest\x1a\x1c.payload.v1.Object.Locations\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/update/object/multiple:\x01*\x12h\n\x0cUpsertObject\x12 .payload.v1.Upsert.ObjectRequest\x1a\x1b.payload.v1.Object.Location\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/upsert/object:\x01*\x12_\n\x12StreamUpsertObject\x12 .payload.v1.Upsert.ObjectRequest\x1a!.payload.v1.Object.StreamLocation\"\x00(\x01\x30\x01\x12|\n\x11MultiUpsertObject\x12%.payload.v1.Upsert.MultiObjectRequest\x1a\x1c.payload.v1.Object.Locations\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/upsert/object/multiple:\x01*Bg\n\x1aorg.vdaas.vald.api.v1.valdB\nValdFilterP\x01Z\'github.com/vdaas/vald/apis/grpc/v1/vald\xc8\xe2\x1e\x01\xd0\xe2\x1e\x01\xe0\xe2\x1e\x01\xc0\xe3\x1e\x01\xc8\xe3\x1e\x01\x62\x06proto3' + serialized_pb=b'\n\x19vald/v1/vald/filter.proto\x12\x07vald.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x1cgoogle/api/annotations.proto2\xac\n\n\x06\x46ilter\x12h\n\x0cSearchObject\x12 .payload.v1.Search.ObjectRequest\x1a\x1b.payload.v1.Search.Response\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/search/object:\x01*\x12|\n\x11MultiSearchObject\x12%.payload.v1.Search.MultiObjectRequest\x1a\x1c.payload.v1.Search.Responses\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/search/object/multiple:\x01*\x12_\n\x12StreamSearchObject\x12 .payload.v1.Search.ObjectRequest\x1a!.payload.v1.Search.StreamResponse\"\x00(\x01\x30\x01\x12h\n\x0cInsertObject\x12 .payload.v1.Insert.ObjectRequest\x1a\x1b.payload.v1.Object.Location\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/insert/object:\x01*\x12_\n\x12StreamInsertObject\x12 .payload.v1.Insert.ObjectRequest\x1a!.payload.v1.Object.StreamLocation\"\x00(\x01\x30\x01\x12|\n\x11MultiInsertObject\x12%.payload.v1.Insert.MultiObjectRequest\x1a\x1c.payload.v1.Object.Locations\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/insert/object/multiple:\x01*\x12h\n\x0cUpdateObject\x12 .payload.v1.Update.ObjectRequest\x1a\x1b.payload.v1.Object.Location\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/update/object:\x01*\x12_\n\x12StreamUpdateObject\x12 .payload.v1.Update.ObjectRequest\x1a!.payload.v1.Object.StreamLocation\"\x00(\x01\x30\x01\x12|\n\x11MultiUpdateObject\x12%.payload.v1.Update.MultiObjectRequest\x1a\x1c.payload.v1.Object.Locations\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/update/object/multiple:\x01*\x12h\n\x0cUpsertObject\x12 .payload.v1.Upsert.ObjectRequest\x1a\x1b.payload.v1.Object.Location\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/upsert/object:\x01*\x12_\n\x12StreamUpsertObject\x12 .payload.v1.Upsert.ObjectRequest\x1a!.payload.v1.Object.StreamLocation\"\x00(\x01\x30\x01\x12|\n\x11MultiUpsertObject\x12%.payload.v1.Upsert.MultiObjectRequest\x1a\x1c.payload.v1.Object.Locations\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/upsert/object/multiple:\x01*BS\n\x1aorg.vdaas.vald.api.v1.valdB\nValdFilterP\x01Z\'github.com/vdaas/vald/apis/grpc/v1/valdb\x06proto3' , - dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,gogoproto_dot_gogo__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -40,8 +39,8 @@ index=0, serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_start=122, - serialized_end=1446, + serialized_start=100, + serialized_end=1424, methods=[ _descriptor.MethodDescriptor( name='SearchObject', diff --git a/src/vald/v1/vald/insert_pb2.py b/src/vald/v1/vald/insert_pb2.py index 4d2da79..706edd8 100644 --- a/src/vald/v1/vald/insert_pb2.py +++ b/src/vald/v1/vald/insert_pb2.py @@ -12,7 +12,6 @@ from vald.v1.payload import payload_pb2 as vald_dot_v1_dot_payload_dot_payload__pb2 -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 @@ -20,11 +19,11 @@ name='vald/v1/vald/insert.proto', package='vald.v1', syntax='proto3', - serialized_options=b'\n\032org.vdaas.vald.api.v1.valdB\nValdInsertP\001Z\'github.com/vdaas/vald/apis/grpc/v1/vald\310\342\036\001\320\342\036\001\340\342\036\001\300\343\036\001\310\343\036\001', + serialized_options=b'\n\032org.vdaas.vald.api.v1.valdB\nValdInsertP\001Z\'github.com/vdaas/vald/apis/grpc/v1/vald', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x19vald/v1/vald/insert.proto\x12\x07vald.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto2\x9f\x02\n\x06Insert\x12U\n\x06Insert\x12\x1a.payload.v1.Insert.Request\x1a\x1b.payload.v1.Object.Location\"\x12\x82\xd3\xe4\x93\x02\x0c\"\x07/insert:\x01*\x12S\n\x0cStreamInsert\x12\x1a.payload.v1.Insert.Request\x1a!.payload.v1.Object.StreamLocation\"\x00(\x01\x30\x01\x12i\n\x0bMultiInsert\x12\x1f.payload.v1.Insert.MultiRequest\x1a\x1c.payload.v1.Object.Locations\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/insert/multiple:\x01*Bg\n\x1aorg.vdaas.vald.api.v1.valdB\nValdInsertP\x01Z\'github.com/vdaas/vald/apis/grpc/v1/vald\xc8\xe2\x1e\x01\xd0\xe2\x1e\x01\xe0\xe2\x1e\x01\xc0\xe3\x1e\x01\xc8\xe3\x1e\x01\x62\x06proto3' + serialized_pb=b'\n\x19vald/v1/vald/insert.proto\x12\x07vald.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x1cgoogle/api/annotations.proto2\x9f\x02\n\x06Insert\x12U\n\x06Insert\x12\x1a.payload.v1.Insert.Request\x1a\x1b.payload.v1.Object.Location\"\x12\x82\xd3\xe4\x93\x02\x0c\"\x07/insert:\x01*\x12S\n\x0cStreamInsert\x12\x1a.payload.v1.Insert.Request\x1a!.payload.v1.Object.StreamLocation\"\x00(\x01\x30\x01\x12i\n\x0bMultiInsert\x12\x1f.payload.v1.Insert.MultiRequest\x1a\x1c.payload.v1.Object.Locations\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/insert/multiple:\x01*BS\n\x1aorg.vdaas.vald.api.v1.valdB\nValdInsertP\x01Z\'github.com/vdaas/vald/apis/grpc/v1/valdb\x06proto3' , - dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,gogoproto_dot_gogo__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -40,8 +39,8 @@ index=0, serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_start=122, - serialized_end=409, + serialized_start=100, + serialized_end=387, methods=[ _descriptor.MethodDescriptor( name='Insert', diff --git a/src/vald/v1/vald/object_pb2.py b/src/vald/v1/vald/object_pb2.py index 59b70c2..c9147c9 100644 --- a/src/vald/v1/vald/object_pb2.py +++ b/src/vald/v1/vald/object_pb2.py @@ -12,7 +12,6 @@ from vald.v1.payload import payload_pb2 as vald_dot_v1_dot_payload_dot_payload__pb2 -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 @@ -20,11 +19,11 @@ name='vald/v1/vald/object.proto', package='vald.v1', syntax='proto3', - serialized_options=b'\n\032org.vdaas.vald.api.v1.valdB\nValdObjectP\001Z\'github.com/vdaas/vald/apis/grpc/v1/vald\310\342\036\001\320\342\036\001\340\342\036\001\300\343\036\001\310\343\036\001', + serialized_options=b'\n\032org.vdaas.vald.api.v1.valdB\nValdObjectP\001Z\'github.com/vdaas/vald/apis/grpc/v1/vald', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x19vald/v1/vald/object.proto\x12\x07vald.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto2\x95\x02\n\x06Object\x12L\n\x06\x45xists\x12\x15.payload.v1.Object.ID\x1a\x15.payload.v1.Object.ID\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/exists/{id}\x12\x61\n\tGetObject\x12 .payload.v1.Object.VectorRequest\x1a\x19.payload.v1.Object.Vector\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/object/{id.id}\x12Z\n\x0fStreamGetObject\x12 .payload.v1.Object.VectorRequest\x1a\x1f.payload.v1.Object.StreamVector\"\x00(\x01\x30\x01\x42g\n\x1aorg.vdaas.vald.api.v1.valdB\nValdObjectP\x01Z\'github.com/vdaas/vald/apis/grpc/v1/vald\xc8\xe2\x1e\x01\xd0\xe2\x1e\x01\xe0\xe2\x1e\x01\xc0\xe3\x1e\x01\xc8\xe3\x1e\x01\x62\x06proto3' + serialized_pb=b'\n\x19vald/v1/vald/object.proto\x12\x07vald.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x1cgoogle/api/annotations.proto2\x95\x02\n\x06Object\x12L\n\x06\x45xists\x12\x15.payload.v1.Object.ID\x1a\x15.payload.v1.Object.ID\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/exists/{id}\x12\x61\n\tGetObject\x12 .payload.v1.Object.VectorRequest\x1a\x19.payload.v1.Object.Vector\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/object/{id.id}\x12Z\n\x0fStreamGetObject\x12 .payload.v1.Object.VectorRequest\x1a\x1f.payload.v1.Object.StreamVector\"\x00(\x01\x30\x01\x42S\n\x1aorg.vdaas.vald.api.v1.valdB\nValdObjectP\x01Z\'github.com/vdaas/vald/apis/grpc/v1/valdb\x06proto3' , - dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,gogoproto_dot_gogo__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -40,8 +39,8 @@ index=0, serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_start=122, - serialized_end=399, + serialized_start=100, + serialized_end=377, methods=[ _descriptor.MethodDescriptor( name='Exists', diff --git a/src/vald/v1/vald/remove_pb2.py b/src/vald/v1/vald/remove_pb2.py index e1f1e2a..d82d9cf 100644 --- a/src/vald/v1/vald/remove_pb2.py +++ b/src/vald/v1/vald/remove_pb2.py @@ -12,7 +12,6 @@ from vald.v1.payload import payload_pb2 as vald_dot_v1_dot_payload_dot_payload__pb2 -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 @@ -20,11 +19,11 @@ name='vald/v1/vald/remove.proto', package='vald.v1', syntax='proto3', - serialized_options=b'\n\032org.vdaas.vald.api.v1.valdB\nValdRemoveP\001Z\'github.com/vdaas/vald/apis/grpc/v1/vald\310\342\036\001\320\342\036\001\340\342\036\001\300\343\036\001\310\343\036\001', + serialized_options=b'\n\032org.vdaas.vald.api.v1.valdB\nValdRemoveP\001Z\'github.com/vdaas/vald/apis/grpc/v1/vald', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x19vald/v1/vald/remove.proto\x12\x07vald.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto2\x9f\x02\n\x06Remove\x12U\n\x06Remove\x12\x1a.payload.v1.Remove.Request\x1a\x1b.payload.v1.Object.Location\"\x12\x82\xd3\xe4\x93\x02\x0c\"\x07/remove:\x01*\x12S\n\x0cStreamRemove\x12\x1a.payload.v1.Remove.Request\x1a!.payload.v1.Object.StreamLocation\"\x00(\x01\x30\x01\x12i\n\x0bMultiRemove\x12\x1f.payload.v1.Remove.MultiRequest\x1a\x1c.payload.v1.Object.Locations\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/remove/multiple:\x01*Bg\n\x1aorg.vdaas.vald.api.v1.valdB\nValdRemoveP\x01Z\'github.com/vdaas/vald/apis/grpc/v1/vald\xc8\xe2\x1e\x01\xd0\xe2\x1e\x01\xe0\xe2\x1e\x01\xc0\xe3\x1e\x01\xc8\xe3\x1e\x01\x62\x06proto3' + serialized_pb=b'\n\x19vald/v1/vald/remove.proto\x12\x07vald.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x1cgoogle/api/annotations.proto2\x9f\x02\n\x06Remove\x12U\n\x06Remove\x12\x1a.payload.v1.Remove.Request\x1a\x1b.payload.v1.Object.Location\"\x12\x82\xd3\xe4\x93\x02\x0c\"\x07/remove:\x01*\x12S\n\x0cStreamRemove\x12\x1a.payload.v1.Remove.Request\x1a!.payload.v1.Object.StreamLocation\"\x00(\x01\x30\x01\x12i\n\x0bMultiRemove\x12\x1f.payload.v1.Remove.MultiRequest\x1a\x1c.payload.v1.Object.Locations\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/remove/multiple:\x01*BS\n\x1aorg.vdaas.vald.api.v1.valdB\nValdRemoveP\x01Z\'github.com/vdaas/vald/apis/grpc/v1/valdb\x06proto3' , - dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,gogoproto_dot_gogo__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -40,8 +39,8 @@ index=0, serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_start=122, - serialized_end=409, + serialized_start=100, + serialized_end=387, methods=[ _descriptor.MethodDescriptor( name='Remove', diff --git a/src/vald/v1/vald/search_pb2.py b/src/vald/v1/vald/search_pb2.py index e0c53c6..0691eee 100644 --- a/src/vald/v1/vald/search_pb2.py +++ b/src/vald/v1/vald/search_pb2.py @@ -12,7 +12,6 @@ from vald.v1.payload import payload_pb2 as vald_dot_v1_dot_payload_dot_payload__pb2 -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 @@ -20,11 +19,11 @@ name='vald/v1/vald/search.proto', package='vald.v1', syntax='proto3', - serialized_options=b'\n\032org.vdaas.vald.api.v1.valdB\nValdSearchP\001Z\'github.com/vdaas/vald/apis/grpc/v1/vald\310\342\036\001\320\342\036\001\340\342\036\001\300\343\036\001\310\343\036\001', + serialized_options=b'\n\032org.vdaas.vald.api.v1.valdB\nValdSearchP\001Z\'github.com/vdaas/vald/apis/grpc/v1/vald', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x19vald/v1/vald/search.proto\x12\x07vald.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto2\xce\x04\n\x06Search\x12U\n\x06Search\x12\x1a.payload.v1.Search.Request\x1a\x1b.payload.v1.Search.Response\"\x12\x82\xd3\xe4\x93\x02\x0c\"\x07/search:\x01*\x12^\n\nSearchByID\x12\x1c.payload.v1.Search.IDRequest\x1a\x1b.payload.v1.Search.Response\"\x15\x82\xd3\xe4\x93\x02\x0f\"\n/search/id:\x01*\x12S\n\x0cStreamSearch\x12\x1a.payload.v1.Search.Request\x1a!.payload.v1.Search.StreamResponse\"\x00(\x01\x30\x01\x12Y\n\x10StreamSearchByID\x12\x1c.payload.v1.Search.IDRequest\x1a!.payload.v1.Search.StreamResponse\"\x00(\x01\x30\x01\x12i\n\x0bMultiSearch\x12\x1f.payload.v1.Search.MultiRequest\x1a\x1c.payload.v1.Search.Responses\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/search/multiple:\x01*\x12r\n\x0fMultiSearchByID\x12!.payload.v1.Search.MultiIDRequest\x1a\x1c.payload.v1.Search.Responses\"\x1e\x82\xd3\xe4\x93\x02\x18\"\x13/search/id/multiple:\x01*Bg\n\x1aorg.vdaas.vald.api.v1.valdB\nValdSearchP\x01Z\'github.com/vdaas/vald/apis/grpc/v1/vald\xc8\xe2\x1e\x01\xd0\xe2\x1e\x01\xe0\xe2\x1e\x01\xc0\xe3\x1e\x01\xc8\xe3\x1e\x01\x62\x06proto3' + serialized_pb=b'\n\x19vald/v1/vald/search.proto\x12\x07vald.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x1cgoogle/api/annotations.proto2\xce\x04\n\x06Search\x12U\n\x06Search\x12\x1a.payload.v1.Search.Request\x1a\x1b.payload.v1.Search.Response\"\x12\x82\xd3\xe4\x93\x02\x0c\"\x07/search:\x01*\x12^\n\nSearchByID\x12\x1c.payload.v1.Search.IDRequest\x1a\x1b.payload.v1.Search.Response\"\x15\x82\xd3\xe4\x93\x02\x0f\"\n/search/id:\x01*\x12S\n\x0cStreamSearch\x12\x1a.payload.v1.Search.Request\x1a!.payload.v1.Search.StreamResponse\"\x00(\x01\x30\x01\x12Y\n\x10StreamSearchByID\x12\x1c.payload.v1.Search.IDRequest\x1a!.payload.v1.Search.StreamResponse\"\x00(\x01\x30\x01\x12i\n\x0bMultiSearch\x12\x1f.payload.v1.Search.MultiRequest\x1a\x1c.payload.v1.Search.Responses\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/search/multiple:\x01*\x12r\n\x0fMultiSearchByID\x12!.payload.v1.Search.MultiIDRequest\x1a\x1c.payload.v1.Search.Responses\"\x1e\x82\xd3\xe4\x93\x02\x18\"\x13/search/id/multiple:\x01*BS\n\x1aorg.vdaas.vald.api.v1.valdB\nValdSearchP\x01Z\'github.com/vdaas/vald/apis/grpc/v1/valdb\x06proto3' , - dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,gogoproto_dot_gogo__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -40,8 +39,8 @@ index=0, serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_start=122, - serialized_end=712, + serialized_start=100, + serialized_end=690, methods=[ _descriptor.MethodDescriptor( name='Search', diff --git a/src/vald/v1/vald/update_pb2.py b/src/vald/v1/vald/update_pb2.py index dc90fc7..3a83fb7 100644 --- a/src/vald/v1/vald/update_pb2.py +++ b/src/vald/v1/vald/update_pb2.py @@ -12,7 +12,6 @@ from vald.v1.payload import payload_pb2 as vald_dot_v1_dot_payload_dot_payload__pb2 -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 @@ -20,11 +19,11 @@ name='vald/v1/vald/update.proto', package='vald.v1', syntax='proto3', - serialized_options=b'\n\032org.vdaas.vald.api.v1.valdB\nValdUpdateP\001Z\'github.com/vdaas/vald/apis/grpc/v1/vald\310\342\036\001\320\342\036\001\340\342\036\001\300\343\036\001\310\343\036\001', + serialized_options=b'\n\032org.vdaas.vald.api.v1.valdB\nValdUpdateP\001Z\'github.com/vdaas/vald/apis/grpc/v1/vald', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x19vald/v1/vald/update.proto\x12\x07vald.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto2\x9f\x02\n\x06Update\x12U\n\x06Update\x12\x1a.payload.v1.Update.Request\x1a\x1b.payload.v1.Object.Location\"\x12\x82\xd3\xe4\x93\x02\x0c\"\x07/update:\x01*\x12S\n\x0cStreamUpdate\x12\x1a.payload.v1.Update.Request\x1a!.payload.v1.Object.StreamLocation\"\x00(\x01\x30\x01\x12i\n\x0bMultiUpdate\x12\x1f.payload.v1.Update.MultiRequest\x1a\x1c.payload.v1.Object.Locations\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/update/multiple:\x01*Bg\n\x1aorg.vdaas.vald.api.v1.valdB\nValdUpdateP\x01Z\'github.com/vdaas/vald/apis/grpc/v1/vald\xc8\xe2\x1e\x01\xd0\xe2\x1e\x01\xe0\xe2\x1e\x01\xc0\xe3\x1e\x01\xc8\xe3\x1e\x01\x62\x06proto3' + serialized_pb=b'\n\x19vald/v1/vald/update.proto\x12\x07vald.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x1cgoogle/api/annotations.proto2\x9f\x02\n\x06Update\x12U\n\x06Update\x12\x1a.payload.v1.Update.Request\x1a\x1b.payload.v1.Object.Location\"\x12\x82\xd3\xe4\x93\x02\x0c\"\x07/update:\x01*\x12S\n\x0cStreamUpdate\x12\x1a.payload.v1.Update.Request\x1a!.payload.v1.Object.StreamLocation\"\x00(\x01\x30\x01\x12i\n\x0bMultiUpdate\x12\x1f.payload.v1.Update.MultiRequest\x1a\x1c.payload.v1.Object.Locations\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/update/multiple:\x01*BS\n\x1aorg.vdaas.vald.api.v1.valdB\nValdUpdateP\x01Z\'github.com/vdaas/vald/apis/grpc/v1/valdb\x06proto3' , - dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,gogoproto_dot_gogo__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -40,8 +39,8 @@ index=0, serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_start=122, - serialized_end=409, + serialized_start=100, + serialized_end=387, methods=[ _descriptor.MethodDescriptor( name='Update', diff --git a/src/vald/v1/vald/upsert_pb2.py b/src/vald/v1/vald/upsert_pb2.py index c6f8634..83c62d1 100644 --- a/src/vald/v1/vald/upsert_pb2.py +++ b/src/vald/v1/vald/upsert_pb2.py @@ -12,7 +12,6 @@ from vald.v1.payload import payload_pb2 as vald_dot_v1_dot_payload_dot_payload__pb2 -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 @@ -20,11 +19,11 @@ name='vald/v1/vald/upsert.proto', package='vald.v1', syntax='proto3', - serialized_options=b'\n\032org.vdaas.vald.api.v1.valdB\nValdUpsertP\001Z\'github.com/vdaas/vald/apis/grpc/v1/vald\310\342\036\001\320\342\036\001\340\342\036\001\300\343\036\001\310\343\036\001', + serialized_options=b'\n\032org.vdaas.vald.api.v1.valdB\nValdUpsertP\001Z\'github.com/vdaas/vald/apis/grpc/v1/vald', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x19vald/v1/vald/upsert.proto\x12\x07vald.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto2\x9f\x02\n\x06Upsert\x12U\n\x06Upsert\x12\x1a.payload.v1.Upsert.Request\x1a\x1b.payload.v1.Object.Location\"\x12\x82\xd3\xe4\x93\x02\x0c\"\x07/upsert:\x01*\x12S\n\x0cStreamUpsert\x12\x1a.payload.v1.Upsert.Request\x1a!.payload.v1.Object.StreamLocation\"\x00(\x01\x30\x01\x12i\n\x0bMultiUpsert\x12\x1f.payload.v1.Upsert.MultiRequest\x1a\x1c.payload.v1.Object.Locations\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/upsert/multiple:\x01*Bg\n\x1aorg.vdaas.vald.api.v1.valdB\nValdUpsertP\x01Z\'github.com/vdaas/vald/apis/grpc/v1/vald\xc8\xe2\x1e\x01\xd0\xe2\x1e\x01\xe0\xe2\x1e\x01\xc0\xe3\x1e\x01\xc8\xe3\x1e\x01\x62\x06proto3' + serialized_pb=b'\n\x19vald/v1/vald/upsert.proto\x12\x07vald.v1\x1a\x1dvald/v1/payload/payload.proto\x1a\x1cgoogle/api/annotations.proto2\x9f\x02\n\x06Upsert\x12U\n\x06Upsert\x12\x1a.payload.v1.Upsert.Request\x1a\x1b.payload.v1.Object.Location\"\x12\x82\xd3\xe4\x93\x02\x0c\"\x07/upsert:\x01*\x12S\n\x0cStreamUpsert\x12\x1a.payload.v1.Upsert.Request\x1a!.payload.v1.Object.StreamLocation\"\x00(\x01\x30\x01\x12i\n\x0bMultiUpsert\x12\x1f.payload.v1.Upsert.MultiRequest\x1a\x1c.payload.v1.Object.Locations\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/upsert/multiple:\x01*BS\n\x1aorg.vdaas.vald.api.v1.valdB\nValdUpsertP\x01Z\'github.com/vdaas/vald/apis/grpc/v1/valdb\x06proto3' , - dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,gogoproto_dot_gogo__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[vald_dot_v1_dot_payload_dot_payload__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -40,8 +39,8 @@ index=0, serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_start=122, - serialized_end=409, + serialized_start=100, + serialized_end=387, methods=[ _descriptor.MethodDescriptor( name='Upsert',