Skip to content

Commit

Permalink
Revert "Update [vald sha: 41c002c4cce3755740e88d527de811dc5c1fce30]" (#…
Browse files Browse the repository at this point in the history
…285)

This reverts commit 04c34c6.
  • Loading branch information
hlts2 authored May 7, 2024
1 parent 04c34c6 commit c20cce5
Show file tree
Hide file tree
Showing 28 changed files with 556 additions and 1,060 deletions.
2 changes: 1 addition & 1 deletion VALD_SHA
Original file line number Diff line number Diff line change
@@ -1 +1 @@
41c002c4cce3755740e88d527de811dc5c1fce30
18786bf03a1a47d7c24afae496ad1c839c1aca1e
6 changes: 3 additions & 3 deletions src/buf/validate/expression_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/buf/validate/priv/private_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

312 changes: 156 additions & 156 deletions src/buf/validate/validate_pb2.py

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/google/api/annotations_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/google/api/http_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/google/rpc/status_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions src/vald/v1/agent/core/agent_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

90 changes: 20 additions & 70 deletions src/vald/v1/agent/core/agent_pb2_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@ def __init__(self, channel):
'/core.v1.Agent/CreateIndex',
request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Control.CreateIndexRequest.SerializeToString,
response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Empty.FromString,
_registered_method=True)
)
self.SaveIndex = channel.unary_unary(
'/core.v1.Agent/SaveIndex',
request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Empty.SerializeToString,
response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Empty.FromString,
_registered_method=True)
)
self.CreateAndSaveIndex = channel.unary_unary(
'/core.v1.Agent/CreateAndSaveIndex',
request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Control.CreateIndexRequest.SerializeToString,
response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Empty.FromString,
_registered_method=True)
)
self.IndexInfo = channel.unary_unary(
'/core.v1.Agent/IndexInfo',
request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Empty.SerializeToString,
response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Info.Index.Count.FromString,
_registered_method=True)
)
self.GetTimestamp = channel.unary_unary(
'/core.v1.Agent/GetTimestamp',
request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.GetTimestampRequest.SerializeToString,
response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Timestamp.FromString,
_registered_method=True)
)


class AgentServicer(object):
Expand Down Expand Up @@ -131,21 +131,11 @@ def CreateIndex(request,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(
request,
target,
'/core.v1.Agent/CreateIndex',
return grpc.experimental.unary_unary(request, target, '/core.v1.Agent/CreateIndex',
vald_dot_v1_dot_payload_dot_payload__pb2.Control.CreateIndexRequest.SerializeToString,
vald_dot_v1_dot_payload_dot_payload__pb2.Empty.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True)
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

@staticmethod
def SaveIndex(request,
Expand All @@ -158,21 +148,11 @@ def SaveIndex(request,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(
request,
target,
'/core.v1.Agent/SaveIndex',
return grpc.experimental.unary_unary(request, target, '/core.v1.Agent/SaveIndex',
vald_dot_v1_dot_payload_dot_payload__pb2.Empty.SerializeToString,
vald_dot_v1_dot_payload_dot_payload__pb2.Empty.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True)
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

@staticmethod
def CreateAndSaveIndex(request,
Expand All @@ -185,21 +165,11 @@ def CreateAndSaveIndex(request,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(
request,
target,
'/core.v1.Agent/CreateAndSaveIndex',
return grpc.experimental.unary_unary(request, target, '/core.v1.Agent/CreateAndSaveIndex',
vald_dot_v1_dot_payload_dot_payload__pb2.Control.CreateIndexRequest.SerializeToString,
vald_dot_v1_dot_payload_dot_payload__pb2.Empty.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True)
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

@staticmethod
def IndexInfo(request,
Expand All @@ -212,21 +182,11 @@ def IndexInfo(request,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(
request,
target,
'/core.v1.Agent/IndexInfo',
return grpc.experimental.unary_unary(request, target, '/core.v1.Agent/IndexInfo',
vald_dot_v1_dot_payload_dot_payload__pb2.Empty.SerializeToString,
vald_dot_v1_dot_payload_dot_payload__pb2.Info.Index.Count.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True)
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

@staticmethod
def GetTimestamp(request,
Expand All @@ -239,18 +199,8 @@ def GetTimestamp(request,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(
request,
target,
'/core.v1.Agent/GetTimestamp',
return grpc.experimental.unary_unary(request, target, '/core.v1.Agent/GetTimestamp',
vald_dot_v1_dot_payload_dot_payload__pb2.Object.GetTimestampRequest.SerializeToString,
vald_dot_v1_dot_payload_dot_payload__pb2.Object.Timestamp.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True)
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
10 changes: 5 additions & 5 deletions src/vald/v1/filter/egress/egress_filter_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 8 additions & 28 deletions src/vald/v1/filter/egress/egress_filter_pb2_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ def __init__(self, channel):
'/filter.egress.v1.Filter/FilterDistance',
request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Distance.SerializeToString,
response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Distance.FromString,
_registered_method=True)
)
self.FilterVector = channel.unary_unary(
'/filter.egress.v1.Filter/FilterVector',
request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString,
response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.FromString,
_registered_method=True)
)


class FilterServicer(object):
Expand Down Expand Up @@ -80,21 +80,11 @@ def FilterDistance(request,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(
request,
target,
'/filter.egress.v1.Filter/FilterDistance',
return grpc.experimental.unary_unary(request, target, '/filter.egress.v1.Filter/FilterDistance',
vald_dot_v1_dot_payload_dot_payload__pb2.Object.Distance.SerializeToString,
vald_dot_v1_dot_payload_dot_payload__pb2.Object.Distance.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True)
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

@staticmethod
def FilterVector(request,
Expand All @@ -107,18 +97,8 @@ def FilterVector(request,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(
request,
target,
'/filter.egress.v1.Filter/FilterVector',
return grpc.experimental.unary_unary(request, target, '/filter.egress.v1.Filter/FilterVector',
vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.SerializeToString,
vald_dot_v1_dot_payload_dot_payload__pb2.Object.Vector.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True)
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
Loading

0 comments on commit c20cce5

Please sign in to comment.