vald-client-python 1.7.15__tar.gz → 1.7.17__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.
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/LICENSE +2 -2
- {vald-client-python-1.7.15/src/vald_client_python.egg-info → vald-client-python-1.7.17}/PKG-INFO +6 -1
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/README.md +5 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/setup.cfg +1 -1
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/buf/validate/expression_pb2.py +4 -4
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/buf/validate/priv/private_pb2.py +4 -4
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/buf/validate/validate_pb2.py +4 -4
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/google/api/annotations_pb2.py +4 -4
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/google/api/http_pb2.py +4 -4
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/google/rpc/status_pb2.py +4 -4
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/agent/core/agent_pb2.py +4 -4
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/filter/egress/egress_filter_pb2.py +4 -4
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/filter/ingress/ingress_filter_pb2.py +4 -4
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/payload/payload_pb2.py +4 -4
- vald-client-python-1.7.17/src/vald/v1/rpc/errdetails/error_details_pb2.py +68 -0
- vald-client-python-1.7.17/src/vald/v1/rpc/errdetails/error_details_pb2_grpc.py +4 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/vald/filter_pb2.py +4 -4
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/vald/filter_pb2_grpc.py +157 -15
- vald-client-python-1.7.17/src/vald/v1/vald/flush_pb2.py +41 -0
- vald-client-python-1.7.17/src/vald/v1/vald/flush_pb2_grpc.py +93 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/vald/index_pb2.py +4 -4
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/vald/index_pb2_grpc.py +16 -8
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/vald/insert_pb2.py +4 -4
- vald-client-python-1.7.17/src/vald/v1/vald/insert_pb2_grpc.py +248 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/vald/object_pb2.py +4 -4
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/vald/object_pb2_grpc.py +93 -8
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/vald/remove_pb2.py +4 -4
- vald-client-python-1.7.17/src/vald/v1/vald/remove_pb2_grpc.py +321 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/vald/search_pb2.py +4 -4
- vald-client-python-1.7.17/src/vald/v1/vald/search_pb2_grpc.py +875 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/vald/update_pb2.py +4 -4
- vald-client-python-1.7.17/src/vald/v1/vald/update_pb2_grpc.py +306 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/vald/upsert_pb2.py +4 -4
- vald-client-python-1.7.17/src/vald/v1/vald/upsert_pb2_grpc.py +252 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17/src/vald_client_python.egg-info}/PKG-INFO +6 -1
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald_client_python.egg-info/SOURCES.txt +4 -0
- vald-client-python-1.7.15/src/vald/v1/vald/insert_pb2_grpc.py +0 -169
- vald-client-python-1.7.15/src/vald/v1/vald/remove_pb2_grpc.py +0 -213
- vald-client-python-1.7.15/src/vald/v1/vald/search_pb2_grpc.py +0 -567
- vald-client-python-1.7.15/src/vald/v1/vald/update_pb2_grpc.py +0 -213
- vald-client-python-1.7.15/src/vald/v1/vald/upsert_pb2_grpc.py +0 -169
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/setup.py +0 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/buf/validate/expression_pb2_grpc.py +0 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/buf/validate/priv/private_pb2_grpc.py +0 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/buf/validate/validate_pb2_grpc.py +0 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/google/api/annotations_pb2_grpc.py +0 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/google/api/http_pb2_grpc.py +0 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/google/rpc/status_pb2_grpc.py +0 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/agent/core/agent_pb2_grpc.py +0 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/filter/egress/egress_filter_pb2_grpc.py +0 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/filter/ingress/ingress_filter_pb2_grpc.py +0 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald/v1/payload/payload_pb2_grpc.py +0 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald_client_python.egg-info/dependency_links.txt +0 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald_client_python.egg-info/not-zip-safe +0 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/vald_client_python.egg-info/requires.txt +0 -0
- {vald-client-python-1.7.15 → vald-client-python-1.7.17}/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-
|
|
189
|
+
Copyright (C) 2019-2025 vdaas.org vald team <vald@vdaas.org>
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
-
|
|
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
|
{vald-client-python-1.7.15/src/vald_client_python.egg-info → vald-client-python-1.7.17}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: vald-client-python
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.17
|
|
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
|
|
@@ -34,6 +34,7 @@ from vald.v1.vald import insert_pb2_grpc
|
|
|
34
34
|
from vald.v1.vald import search_pb2_grpc
|
|
35
35
|
from vald.v1.vald import update_pb2_grpc
|
|
36
36
|
from vald.v1.vald import remove_pb2_grpc
|
|
37
|
+
from vald.v1.vald import flush_pb2_grpc
|
|
37
38
|
from vald.v1.payload import payload_pb2
|
|
38
39
|
|
|
39
40
|
## create a channel by passing "{host}:{port}"
|
|
@@ -44,6 +45,7 @@ istub = insert_pb2_grpc.InsertStub(channel)
|
|
|
44
45
|
sstub = search_pb2_grpc.SearchStub(channel)
|
|
45
46
|
ustub = update_pb2_grpc.UpdateStub(channel)
|
|
46
47
|
rstub = remove_pb2_grpc.RemoveStub(channel)
|
|
48
|
+
fstub = flush_pb2_grpc.FlushStub(channel)
|
|
47
49
|
|
|
48
50
|
## call RPCs: Insert
|
|
49
51
|
vec = payload_pb2.Object.Vector(id='vector_id_1', vector=[0.1, 0.2, 0.3])
|
|
@@ -69,6 +71,9 @@ rcfg = payload_pb2.Remove.Config(skip_strict_exist_check=True)
|
|
|
69
71
|
rid = payload_pb2.Object.ID(id='vector_id_1')
|
|
70
72
|
rstub.Remove(payload_pb2.Remove.Request(id=rid, config=rcfg))
|
|
71
73
|
|
|
74
|
+
## call RPCs: Flush
|
|
75
|
+
fstub.Flush(payload_pb2.Flush.Request())
|
|
76
|
+
|
|
72
77
|
## close channel
|
|
73
78
|
channel.close()
|
|
74
79
|
```
|
|
@@ -24,6 +24,7 @@ from vald.v1.vald import insert_pb2_grpc
|
|
|
24
24
|
from vald.v1.vald import search_pb2_grpc
|
|
25
25
|
from vald.v1.vald import update_pb2_grpc
|
|
26
26
|
from vald.v1.vald import remove_pb2_grpc
|
|
27
|
+
from vald.v1.vald import flush_pb2_grpc
|
|
27
28
|
from vald.v1.payload import payload_pb2
|
|
28
29
|
|
|
29
30
|
## create a channel by passing "{host}:{port}"
|
|
@@ -34,6 +35,7 @@ istub = insert_pb2_grpc.InsertStub(channel)
|
|
|
34
35
|
sstub = search_pb2_grpc.SearchStub(channel)
|
|
35
36
|
ustub = update_pb2_grpc.UpdateStub(channel)
|
|
36
37
|
rstub = remove_pb2_grpc.RemoveStub(channel)
|
|
38
|
+
fstub = flush_pb2_grpc.FlushStub(channel)
|
|
37
39
|
|
|
38
40
|
## call RPCs: Insert
|
|
39
41
|
vec = payload_pb2.Object.Vector(id='vector_id_1', vector=[0.1, 0.2, 0.3])
|
|
@@ -59,6 +61,9 @@ rcfg = payload_pb2.Remove.Config(skip_strict_exist_check=True)
|
|
|
59
61
|
rid = payload_pb2.Object.ID(id='vector_id_1')
|
|
60
62
|
rstub.Remove(payload_pb2.Remove.Request(id=rid, config=rcfg))
|
|
61
63
|
|
|
64
|
+
## call RPCs: Flush
|
|
65
|
+
fstub.Flush(payload_pb2.Flush.Request())
|
|
66
|
+
|
|
62
67
|
## close channel
|
|
63
68
|
channel.close()
|
|
64
69
|
```
|
|
@@ -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
|
+
# Protobuf Python Version: 6.31.1
|
|
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
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'buf/validate/expression.proto'
|
|
19
19
|
)
|
{vald-client-python-1.7.15 → vald-client-python-1.7.17}/src/buf/validate/priv/private_pb2.py
RENAMED
|
@@ -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
|
+
# Protobuf Python Version: 6.31.1
|
|
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
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'buf/validate/priv/private.proto'
|
|
19
19
|
)
|
|
@@ -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
|
+
# Protobuf Python Version: 6.31.1
|
|
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
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'buf/validate/validate.proto'
|
|
19
19
|
)
|
|
@@ -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
|
+
# Protobuf Python Version: 6.31.1
|
|
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
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'google/api/annotations.proto'
|
|
19
19
|
)
|
|
@@ -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
|
+
# Protobuf Python Version: 6.31.1
|
|
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
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'google/api/http.proto'
|
|
19
19
|
)
|
|
@@ -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
|
+
# Protobuf Python Version: 6.31.1
|
|
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
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'google/rpc/status.proto'
|
|
19
19
|
)
|
|
@@ -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
|
+
# Protobuf Python Version: 6.31.1
|
|
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
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'vald/v1/agent/core/agent.proto'
|
|
19
19
|
)
|
|
@@ -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
|
+
# Protobuf Python Version: 6.31.1
|
|
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
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'vald/v1/filter/egress/egress_filter.proto'
|
|
19
19
|
)
|
|
@@ -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
|
+
# Protobuf Python Version: 6.31.1
|
|
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
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'vald/v1/filter/ingress/ingress_filter.proto'
|
|
19
19
|
)
|
|
@@ -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
|
+
# Protobuf Python Version: 6.31.1
|
|
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
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'vald/v1/payload/payload.proto'
|
|
19
19
|
)
|
|
@@ -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: 6.31.1
|
|
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
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
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)
|
|
@@ -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
|
+
# Protobuf Python Version: 6.31.1
|
|
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
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'vald/v1/vald/filter.proto'
|
|
19
19
|
)
|