vald-client-python 1.7.14__tar.gz → 1.7.16__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/LICENSE +2 -2
  2. {vald-client-python-1.7.14/src/vald_client_python.egg-info → vald-client-python-1.7.16}/PKG-INFO +1 -1
  3. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/setup.cfg +1 -1
  4. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/buf/validate/expression_pb2.py +2 -2
  5. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/buf/validate/priv/private_pb2.py +2 -2
  6. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/buf/validate/validate_pb2.py +2 -2
  7. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/google/api/annotations_pb2.py +2 -2
  8. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/google/api/http_pb2.py +2 -2
  9. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/google/rpc/status_pb2.py +2 -2
  10. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/agent/core/agent_pb2.py +2 -2
  11. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/filter/egress/egress_filter_pb2.py +2 -2
  12. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/filter/ingress/ingress_filter_pb2.py +2 -2
  13. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/payload/payload_pb2.py +2 -2
  14. vald-client-python-1.7.16/src/vald/v1/rpc/errdetails/error_details_pb2.py +68 -0
  15. vald-client-python-1.7.16/src/vald/v1/rpc/errdetails/error_details_pb2_grpc.py +4 -0
  16. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/vald/filter_pb2.py +2 -2
  17. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/vald/filter_pb2_grpc.py +157 -15
  18. vald-client-python-1.7.16/src/vald/v1/vald/flush_pb2.py +41 -0
  19. vald-client-python-1.7.16/src/vald/v1/vald/flush_pb2_grpc.py +93 -0
  20. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/vald/index_pb2.py +2 -2
  21. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/vald/index_pb2_grpc.py +16 -8
  22. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/vald/insert_pb2.py +2 -2
  23. vald-client-python-1.7.16/src/vald/v1/vald/insert_pb2_grpc.py +248 -0
  24. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/vald/object_pb2.py +2 -2
  25. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/vald/object_pb2_grpc.py +93 -8
  26. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/vald/remove_pb2.py +2 -2
  27. vald-client-python-1.7.16/src/vald/v1/vald/remove_pb2_grpc.py +321 -0
  28. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/vald/search_pb2.py +2 -2
  29. vald-client-python-1.7.16/src/vald/v1/vald/search_pb2_grpc.py +875 -0
  30. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/vald/update_pb2.py +2 -2
  31. vald-client-python-1.7.16/src/vald/v1/vald/update_pb2_grpc.py +306 -0
  32. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/vald/upsert_pb2.py +2 -2
  33. vald-client-python-1.7.16/src/vald/v1/vald/upsert_pb2_grpc.py +252 -0
  34. {vald-client-python-1.7.14 → vald-client-python-1.7.16/src/vald_client_python.egg-info}/PKG-INFO +1 -1
  35. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald_client_python.egg-info/SOURCES.txt +4 -0
  36. vald-client-python-1.7.14/src/vald/v1/vald/insert_pb2_grpc.py +0 -169
  37. vald-client-python-1.7.14/src/vald/v1/vald/remove_pb2_grpc.py +0 -213
  38. vald-client-python-1.7.14/src/vald/v1/vald/search_pb2_grpc.py +0 -567
  39. vald-client-python-1.7.14/src/vald/v1/vald/update_pb2_grpc.py +0 -213
  40. vald-client-python-1.7.14/src/vald/v1/vald/upsert_pb2_grpc.py +0 -169
  41. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/README.md +0 -0
  42. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/setup.py +0 -0
  43. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/buf/validate/expression_pb2_grpc.py +0 -0
  44. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/buf/validate/priv/private_pb2_grpc.py +0 -0
  45. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/buf/validate/validate_pb2_grpc.py +0 -0
  46. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/google/api/annotations_pb2_grpc.py +0 -0
  47. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/google/api/http_pb2_grpc.py +0 -0
  48. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/google/rpc/status_pb2_grpc.py +0 -0
  49. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/agent/core/agent_pb2_grpc.py +0 -0
  50. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/filter/egress/egress_filter_pb2_grpc.py +0 -0
  51. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/filter/ingress/ingress_filter_pb2_grpc.py +0 -0
  52. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald/v1/payload/payload_pb2_grpc.py +0 -0
  53. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald_client_python.egg-info/dependency_links.txt +0 -0
  54. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald_client_python.egg-info/not-zip-safe +0 -0
  55. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald_client_python.egg-info/requires.txt +0 -0
  56. {vald-client-python-1.7.14 → vald-client-python-1.7.16}/src/vald_client_python.egg-info/top_level.txt +0 -0
@@ -186,10 +186,10 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright (C) 2019-2020 Vdaas.org Vald team ( kpango, rinx, kmrmt )
189
+ Copyright (C) 2019-2024 vdaas.org vald team <vald@vdaas.org>
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
192
+ You may not use this file except in compliance with the License.
193
193
  You may obtain a copy of the License at
194
194
 
195
195
  https://www.apache.org/licenses/LICENSE-2.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vald-client-python
3
- Version: 1.7.14
3
+ Version: 1.7.16
4
4
  Summary: a client library for Vald (https://github.com/vdaas/vald).
5
5
  Home-page: https://github.com/vdaas/vald-client-python
6
6
  Author: vald team
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = vald-client-python
3
- version = 1.7.14
3
+ version = 1.7.16
4
4
  url = https://github.com/vdaas/vald-client-python
5
5
  description = a client library for Vald (https://github.com/vdaas/vald).
6
6
  long_description = file: README.md
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: buf/validate/expression.proto
5
- # Protobuf Python Version: 5.28.2
5
+ # Protobuf Python Version: 5.29.2
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,7 +12,7 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 28,
15
+ 29,
16
16
  2,
17
17
  '',
18
18
  'buf/validate/expression.proto'
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: buf/validate/priv/private.proto
5
- # Protobuf Python Version: 5.28.2
5
+ # Protobuf Python Version: 5.29.2
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,7 +12,7 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 28,
15
+ 29,
16
16
  2,
17
17
  '',
18
18
  'buf/validate/priv/private.proto'
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: buf/validate/validate.proto
5
- # Protobuf Python Version: 5.28.2
5
+ # Protobuf Python Version: 5.29.2
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,7 +12,7 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 28,
15
+ 29,
16
16
  2,
17
17
  '',
18
18
  'buf/validate/validate.proto'
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: google/api/annotations.proto
5
- # Protobuf Python Version: 5.28.2
5
+ # Protobuf Python Version: 5.29.2
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,7 +12,7 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 28,
15
+ 29,
16
16
  2,
17
17
  '',
18
18
  'google/api/annotations.proto'
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: google/api/http.proto
5
- # Protobuf Python Version: 5.28.2
5
+ # Protobuf Python Version: 5.29.2
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,7 +12,7 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 28,
15
+ 29,
16
16
  2,
17
17
  '',
18
18
  'google/api/http.proto'
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: google/rpc/status.proto
5
- # Protobuf Python Version: 5.28.2
5
+ # Protobuf Python Version: 5.29.2
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,7 +12,7 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 28,
15
+ 29,
16
16
  2,
17
17
  '',
18
18
  'google/rpc/status.proto'
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: vald/v1/agent/core/agent.proto
5
- # Protobuf Python Version: 5.28.2
5
+ # Protobuf Python Version: 5.29.2
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,7 +12,7 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 28,
15
+ 29,
16
16
  2,
17
17
  '',
18
18
  'vald/v1/agent/core/agent.proto'
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: vald/v1/filter/egress/egress_filter.proto
5
- # Protobuf Python Version: 5.28.2
5
+ # Protobuf Python Version: 5.29.2
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,7 +12,7 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 28,
15
+ 29,
16
16
  2,
17
17
  '',
18
18
  'vald/v1/filter/egress/egress_filter.proto'
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: vald/v1/filter/ingress/ingress_filter.proto
5
- # Protobuf Python Version: 5.28.2
5
+ # Protobuf Python Version: 5.29.2
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,7 +12,7 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 28,
15
+ 29,
16
16
  2,
17
17
  '',
18
18
  'vald/v1/filter/ingress/ingress_filter.proto'
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: vald/v1/payload/payload.proto
5
- # Protobuf Python Version: 5.28.2
5
+ # Protobuf Python Version: 5.29.2
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,7 +12,7 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 28,
15
+ 29,
16
16
  2,
17
17
  '',
18
18
  'vald/v1/payload/payload.proto'
@@ -0,0 +1,68 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: vald/v1/rpc/errdetails/error_details.proto
5
+ # Protobuf Python Version: 5.29.2
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 29,
16
+ 2,
17
+ '',
18
+ 'vald/v1/rpc/errdetails/error_details.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*vald/v1/rpc/errdetails/error_details.proto\x12\x06rpc.v1\x1a\x1egoogle/protobuf/duration.proto\"\xb5\x01\n\tErrorInfo\x12\x16\n\x06reason\x18\x01 \x01(\tR\x06reason\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12;\n\x08metadata\x18\x03 \x03(\x0b\x32\x1f.rpc.v1.ErrorInfo.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"G\n\tRetryInfo\x12:\n\x0bretry_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\nretryDelay\"H\n\tDebugInfo\x12#\n\rstack_entries\x18\x01 \x03(\tR\x0cstackEntries\x12\x16\n\x06\x64\x65tail\x18\x02 \x01(\tR\x06\x64\x65tail\"\x97\x01\n\x0cQuotaFailure\x12>\n\nviolations\x18\x01 \x03(\x0b\x32\x1e.rpc.v1.QuotaFailure.ViolationR\nviolations\x1aG\n\tViolation\x12\x18\n\x07subject\x18\x01 \x01(\tR\x07subject\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\"\xb9\x01\n\x13PreconditionFailure\x12\x45\n\nviolations\x18\x01 \x03(\x0b\x32%.rpc.v1.PreconditionFailure.ViolationR\nviolations\x1a[\n\tViolation\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x18\n\x07subject\x18\x02 \x01(\tR\x07subject\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\"\xa4\x01\n\nBadRequest\x12L\n\x10\x66ield_violations\x18\x01 \x03(\x0b\x32!.rpc.v1.BadRequest.FieldViolationR\x0f\x66ieldViolations\x1aH\n\x0e\x46ieldViolation\x12\x14\n\x05\x66ield\x18\x01 \x01(\tR\x05\x66ield\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\"O\n\x0bRequestInfo\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12!\n\x0cserving_data\x18\x02 \x01(\tR\x0bservingData\"\x90\x01\n\x0cResourceInfo\x12#\n\rresource_type\x18\x01 \x01(\tR\x0cresourceType\x12#\n\rresource_name\x18\x02 \x01(\tR\x0cresourceName\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05owner\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\"k\n\x04Help\x12\'\n\x05links\x18\x01 \x03(\x0b\x32\x11.rpc.v1.Help.LinkR\x05links\x1a:\n\x04Link\x12 \n\x0b\x64\x65scription\x18\x01 \x01(\tR\x0b\x64\x65scription\x12\x10\n\x03url\x18\x02 \x01(\tR\x03url\"D\n\x10LocalizedMessage\x12\x16\n\x06locale\x18\x01 \x01(\tR\x06locale\x12\x18\n\x07message\x18\x02 \x01(\tR\x07messageBi\n\x19org.vdaas.vald.api.v1.rpcB\x11\x45rrorDetailsProtoP\x01Z1github.com/vdaas/vald/apis/grpc/v1/rpc/errdetails\xa2\x02\x03RPCb\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'vald.v1.rpc.errdetails.error_details_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'\n\031org.vdaas.vald.api.v1.rpcB\021ErrorDetailsProtoP\001Z1github.com/vdaas/vald/apis/grpc/v1/rpc/errdetails\242\002\003RPC'
36
+ _globals['_ERRORINFO_METADATAENTRY']._loaded_options = None
37
+ _globals['_ERRORINFO_METADATAENTRY']._serialized_options = b'8\001'
38
+ _globals['_ERRORINFO']._serialized_start=87
39
+ _globals['_ERRORINFO']._serialized_end=268
40
+ _globals['_ERRORINFO_METADATAENTRY']._serialized_start=209
41
+ _globals['_ERRORINFO_METADATAENTRY']._serialized_end=268
42
+ _globals['_RETRYINFO']._serialized_start=270
43
+ _globals['_RETRYINFO']._serialized_end=341
44
+ _globals['_DEBUGINFO']._serialized_start=343
45
+ _globals['_DEBUGINFO']._serialized_end=415
46
+ _globals['_QUOTAFAILURE']._serialized_start=418
47
+ _globals['_QUOTAFAILURE']._serialized_end=569
48
+ _globals['_QUOTAFAILURE_VIOLATION']._serialized_start=498
49
+ _globals['_QUOTAFAILURE_VIOLATION']._serialized_end=569
50
+ _globals['_PRECONDITIONFAILURE']._serialized_start=572
51
+ _globals['_PRECONDITIONFAILURE']._serialized_end=757
52
+ _globals['_PRECONDITIONFAILURE_VIOLATION']._serialized_start=666
53
+ _globals['_PRECONDITIONFAILURE_VIOLATION']._serialized_end=757
54
+ _globals['_BADREQUEST']._serialized_start=760
55
+ _globals['_BADREQUEST']._serialized_end=924
56
+ _globals['_BADREQUEST_FIELDVIOLATION']._serialized_start=852
57
+ _globals['_BADREQUEST_FIELDVIOLATION']._serialized_end=924
58
+ _globals['_REQUESTINFO']._serialized_start=926
59
+ _globals['_REQUESTINFO']._serialized_end=1005
60
+ _globals['_RESOURCEINFO']._serialized_start=1008
61
+ _globals['_RESOURCEINFO']._serialized_end=1152
62
+ _globals['_HELP']._serialized_start=1154
63
+ _globals['_HELP']._serialized_end=1261
64
+ _globals['_HELP_LINK']._serialized_start=1203
65
+ _globals['_HELP_LINK']._serialized_end=1261
66
+ _globals['_LOCALIZEDMESSAGE']._serialized_start=1263
67
+ _globals['_LOCALIZEDMESSAGE']._serialized_end=1331
68
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: vald/v1/vald/filter.proto
5
- # Protobuf Python Version: 5.28.2
5
+ # Protobuf Python Version: 5.29.2
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,7 +12,7 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 28,
15
+ 29,
16
16
  2,
17
17
  '',
18
18
  'vald/v1/vald/filter.proto'
@@ -6,7 +6,10 @@ from vald.v1.payload import payload_pb2 as vald_dot_v1_dot_payload_dot_payload__
6
6
 
7
7
 
8
8
  class FilterStub(object):
9
- """Filter service provides ways to connect to Vald through filter.
9
+ """Overview
10
+ Filter Server is responsible for providing insert, update, upsert and search interface for `Vald Filter Gateway`.
11
+
12
+ Vald Filter Gateway forward user request to user-defined ingress/egress filter components allowing user to run custom logic.
10
13
  """
11
14
 
12
15
  def __init__(self, channel):
@@ -78,88 +81,224 @@ class FilterStub(object):
78
81
 
79
82
 
80
83
  class FilterServicer(object):
81
- """Filter service provides ways to connect to Vald through filter.
84
+ """Overview
85
+ Filter Server is responsible for providing insert, update, upsert and search interface for `Vald Filter Gateway`.
86
+
87
+ Vald Filter Gateway forward user request to user-defined ingress/egress filter components allowing user to run custom logic.
82
88
  """
83
89
 
84
90
  def SearchObject(self, request, context):
85
- """A method to search object.
91
+ """Overview
92
+ SearchObject RPC is the method to search object(s) similar to request object.
93
+ ---
94
+ Status Code
95
+ | 0 | OK |
96
+ | 1 | CANCELLED |
97
+ | 3 | INVALID_ARGUMENT |
98
+ | 4 | DEADLINE_EXCEEDED |
99
+ | 6 | ALREADY_EXISTS |
100
+ | 13 | INTERNAL |
86
101
  """
87
102
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
88
103
  context.set_details('Method not implemented!')
89
104
  raise NotImplementedError('Method not implemented!')
90
105
 
91
106
  def MultiSearchObject(self, request, context):
92
- """A method to search multiple objects.
107
+ """Overview
108
+ StreamSearchObject RPC is the method to search vectors with multi queries(objects) using the [bidirectional streaming RPC](https://grpc.io/docs/what-is-grpc/core-concepts/#bidirectional-streaming-rpc).<br>
109
+ By using the bidirectional streaming RPC, the search request can be communicated in any order between client and server.
110
+ Each Search request and response are independent.
111
+ ---
112
+ Status Code
113
+ | 0 | OK |
114
+ | 1 | CANCELLED |
115
+ | 3 | INVALID_ARGUMENT |
116
+ | 4 | DEADLINE_EXCEEDED |
117
+ | 6 | ALREADY_EXISTS |
118
+ | 13 | INTERNAL |
93
119
  """
94
120
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
95
121
  context.set_details('Method not implemented!')
96
122
  raise NotImplementedError('Method not implemented!')
97
123
 
98
124
  def StreamSearchObject(self, request_iterator, context):
99
- """A method to search object by bidirectional streaming.
125
+ """Overview
126
+ MultiSearchObject RPC is the method to search objects with multiple objects in **1** request.
127
+
128
+ <div class="notice">
129
+ gRPC has a message size limitation.<br>
130
+ Please be careful that the size of the request exceeds the limit.
131
+ </div>
132
+ ---
133
+ Status Code
134
+ | 0 | OK |
135
+ | 1 | CANCELLED |
136
+ | 3 | INVALID_ARGUMENT |
137
+ | 4 | DEADLINE_EXCEEDED |
138
+ | 6 | ALREADY_EXISTS |
139
+ | 13 | INTERNAL |
100
140
  """
101
141
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
102
142
  context.set_details('Method not implemented!')
103
143
  raise NotImplementedError('Method not implemented!')
104
144
 
105
145
  def InsertObject(self, request, context):
106
- """A method insert object.
146
+ """Overview
147
+ InsertObject RPC is the method to insert object through Vald Filter Gateway.
148
+ ---
149
+ Status Code
150
+ | 0 | OK |
151
+ | 1 | CANCELLED |
152
+ | 3 | INVALID_ARGUMENT |
153
+ | 4 | DEADLINE_EXCEEDED |
154
+ | 6 | ALREADY_EXISTS |
155
+ | 13 | INTERNAL |
107
156
  """
108
157
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
109
158
  context.set_details('Method not implemented!')
110
159
  raise NotImplementedError('Method not implemented!')
111
160
 
112
161
  def StreamInsertObject(self, request_iterator, context):
113
- """Represent the streaming RPC to insert object by bidirectional streaming.
162
+ """Overview
163
+ StreamInsertObject RPC is the method to add new multiple object using the [bidirectional streaming RPC](https://grpc.io/docs/what-is-grpc/core-concepts/#bidirectional-streaming-rpc).
164
+
165
+ By using the bidirectional streaming RPC, the insert request can be communicated in any order between client and server.
166
+ Each Insert request and response are independent.
167
+ It's the recommended method to insert a large number of objects.
168
+ ---
169
+ Status Code
170
+ | 0 | OK |
171
+ | 1 | CANCELLED |
172
+ | 3 | INVALID_ARGUMENT |
173
+ | 4 | DEADLINE_EXCEEDED |
174
+ | 6 | ALREADY_EXISTS |
175
+ | 13 | INTERNAL |
114
176
  """
115
177
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
116
178
  context.set_details('Method not implemented!')
117
179
  raise NotImplementedError('Method not implemented!')
118
180
 
119
181
  def MultiInsertObject(self, request, context):
120
- """A method to insert multiple objects.
182
+ """Overview
183
+ MultiInsertObject RPC is the method to add multiple new objects in **1** request.
184
+ ---
185
+ Status Code
186
+ | 0 | OK |
187
+ | 1 | CANCELLED |
188
+ | 3 | INVALID_ARGUMENT |
189
+ | 4 | DEADLINE_EXCEEDED |
190
+ | 6 | ALREADY_EXISTS |
191
+ | 13 | INTERNAL |
121
192
  """
122
193
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
123
194
  context.set_details('Method not implemented!')
124
195
  raise NotImplementedError('Method not implemented!')
125
196
 
126
197
  def UpdateObject(self, request, context):
127
- """A method to update object.
198
+ """Overview
199
+ UpdateObject RPC is the method to update a single vector.
200
+ ---
201
+ Status Code
202
+ | 0 | OK |
203
+ | 1 | CANCELLED |
204
+ | 3 | INVALID_ARGUMENT |
205
+ | 4 | DEADLINE_EXCEEDED |
206
+ | 6 | ALREADY_EXISTS |
207
+ | 13 | INTERNAL |
128
208
  """
129
209
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
130
210
  context.set_details('Method not implemented!')
131
211
  raise NotImplementedError('Method not implemented!')
132
212
 
133
213
  def StreamUpdateObject(self, request_iterator, context):
134
- """A method to update object by bidirectional streaming.
214
+ """Overview
215
+ StreamUpdateObject RPC is the method to update multiple objects using the [bidirectional streaming RPC](https://grpc.io/docs/what-is-grpc/core-concepts/#bidirectional-streaming-rpc).<br>
216
+ By using the bidirectional streaming RPC, the update request can be communicated in any order between client and server.
217
+ Each Update request and response are independent.
218
+ It's the recommended method to update the large amount of objects.
219
+ ---
220
+ Status Code
221
+ | 0 | OK |
222
+ | 1 | CANCELLED |
223
+ | 3 | INVALID_ARGUMENT |
224
+ | 4 | DEADLINE_EXCEEDED |
225
+ | 6 | ALREADY_EXISTS |
226
+ | 13 | INTERNAL |
135
227
  """
136
228
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
137
229
  context.set_details('Method not implemented!')
138
230
  raise NotImplementedError('Method not implemented!')
139
231
 
140
232
  def MultiUpdateObject(self, request, context):
141
- """A method to update multiple objects.
233
+ """Overview
234
+ MultiUpdateObject is the method to update multiple objects in **1** request.
235
+
236
+ <div class="notice">
237
+ gRPC has the message size limitation.<br>
238
+ Please be careful that the size of the request exceed the limit.
239
+ </div>
240
+ ---
241
+ Status Code
242
+
243
+ | 0 | OK |
244
+ | 1 | CANCELLED |
245
+ | 3 | INVALID_ARGUMENT |
246
+ | 4 | DEADLINE_EXCEEDED |
247
+ | 6 | ALREADY_EXISTS |
248
+ | 13 | INTERNAL |
142
249
  """
143
250
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
144
251
  context.set_details('Method not implemented!')
145
252
  raise NotImplementedError('Method not implemented!')
146
253
 
147
254
  def UpsertObject(self, request, context):
148
- """A method to upsert object.
255
+ """Overview
256
+ UpsertObject RPC is the method to update a single object and add a new single object.
257
+ ---
258
+ Status Code
259
+ | 0 | OK |
260
+ | 1 | CANCELLED |
261
+ | 3 | INVALID_ARGUMENT |
262
+ | 4 | DEADLINE_EXCEEDED |
263
+ | 6 | ALREADY_EXISTS |
264
+ | 13 | INTERNAL |
149
265
  """
150
266
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
151
267
  context.set_details('Method not implemented!')
152
268
  raise NotImplementedError('Method not implemented!')
153
269
 
154
270
  def StreamUpsertObject(self, request_iterator, context):
155
- """A method to upsert object by bidirectional streaming.
271
+ """Overview
272
+ UpsertObject RPC is the method to update a single object and add a new single object.
273
+ ---
274
+ Status Code
275
+ | 0 | OK |
276
+ | 1 | CANCELLED |
277
+ | 3 | INVALID_ARGUMENT |
278
+ | 4 | DEADLINE_EXCEEDED |
279
+ | 6 | ALREADY_EXISTS |
280
+ | 13 | INTERNAL |
156
281
  """
157
282
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
158
283
  context.set_details('Method not implemented!')
159
284
  raise NotImplementedError('Method not implemented!')
160
285
 
161
286
  def MultiUpsertObject(self, request, context):
162
- """A method to upsert multiple objects.
287
+ """Overview
288
+ MultiUpsertObject is the method to update existing multiple objects and add new multiple objects in **1** request.
289
+
290
+ <div class="notice">
291
+ gRPC has a message size limitation.<br>
292
+ Please be careful that the size of the request exceeds the limit.
293
+ </div>
294
+ ---
295
+ Status Code
296
+ | 0 | OK |
297
+ | 1 | CANCELLED |
298
+ | 3 | INVALID_ARGUMENT |
299
+ | 4 | DEADLINE_EXCEEDED |
300
+ | 6 | ALREADY_EXISTS |
301
+ | 13 | INTERNAL |
163
302
  """
164
303
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
165
304
  context.set_details('Method not implemented!')
@@ -237,7 +376,10 @@ def add_FilterServicer_to_server(servicer, server):
237
376
 
238
377
  # This class is part of an EXPERIMENTAL API.
239
378
  class Filter(object):
240
- """Filter service provides ways to connect to Vald through filter.
379
+ """Overview
380
+ Filter Server is responsible for providing insert, update, upsert and search interface for `Vald Filter Gateway`.
381
+
382
+ Vald Filter Gateway forward user request to user-defined ingress/egress filter components allowing user to run custom logic.
241
383
  """
242
384
 
243
385
  @staticmethod
@@ -0,0 +1,41 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: vald/v1/vald/flush.proto
5
+ # Protobuf Python Version: 5.29.2
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 29,
16
+ 2,
17
+ '',
18
+ 'vald/v1/vald/flush.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
26
+ from vald.v1.payload import payload_pb2 as vald_dot_v1_dot_payload_dot_payload__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18vald/v1/vald/flush.proto\x12\x07vald.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dvald/v1/payload/payload.proto2Y\n\x05\x46lush\x12P\n\x05\x46lush\x12\x19.payload.v1.Flush.Request\x1a\x1c.payload.v1.Info.Index.Count\"\x0e\x82\xd3\xe4\x93\x02\x08*\x06/flushBR\n\x1aorg.vdaas.vald.api.v1.valdB\tValdFlushP\x01Z\'github.com/vdaas/vald/apis/grpc/v1/valdb\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'vald.v1.vald.flush_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\n\032org.vdaas.vald.api.v1.valdB\tValdFlushP\001Z\'github.com/vdaas/vald/apis/grpc/v1/vald'
37
+ _globals['_FLUSH'].methods_by_name['Flush']._loaded_options = None
38
+ _globals['_FLUSH'].methods_by_name['Flush']._serialized_options = b'\202\323\344\223\002\010*\006/flush'
39
+ _globals['_FLUSH']._serialized_start=98
40
+ _globals['_FLUSH']._serialized_end=187
41
+ # @@protoc_insertion_point(module_scope)