Skip to content

Commit

Permalink
(chore): run generate_grpc
Browse files Browse the repository at this point in the history
longhorn/longhorn-6613

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
  • Loading branch information
c3y1huang authored and derekbit committed Aug 27, 2024
1 parent a08eedd commit af8f10e
Show file tree
Hide file tree
Showing 8 changed files with 1,099 additions and 1,391 deletions.
64 changes: 31 additions & 33 deletions generated-py/imrpc/proxy_pb2.py

Large diffs are not rendered by default.

33 changes: 0 additions & 33 deletions generated-py/imrpc/proxy_pb2_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,6 @@ def __init__(self, channel):
request_serializer=imrpc_dot_proxy__pb2.ProxyEngineRequest.SerializeToString,
response_deserializer=imrpc_dot_proxy__pb2.EngineBackupRestoreStatusProxyResponse.FromString,
)
self.BackupRestoreFinish = channel.unary_unary(
'/imrpc.ProxyEngineService/BackupRestoreFinish',
request_serializer=imrpc_dot_proxy__pb2.EngineBackupRestoreFinishRequest.SerializeToString,
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
)
self.CleanupBackupMountPoints = channel.unary_unary(
'/imrpc.ProxyEngineService/CleanupBackupMountPoints',
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
Expand Down Expand Up @@ -312,12 +307,6 @@ def BackupRestoreStatus(self, request, context):
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')

def BackupRestoreFinish(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 CleanupBackupMountPoints(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
Expand Down Expand Up @@ -485,11 +474,6 @@ def add_ProxyEngineServiceServicer_to_server(servicer, server):
request_deserializer=imrpc_dot_proxy__pb2.ProxyEngineRequest.FromString,
response_serializer=imrpc_dot_proxy__pb2.EngineBackupRestoreStatusProxyResponse.SerializeToString,
),
'BackupRestoreFinish': grpc.unary_unary_rpc_method_handler(
servicer.BackupRestoreFinish,
request_deserializer=imrpc_dot_proxy__pb2.EngineBackupRestoreFinishRequest.FromString,
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
),
'CleanupBackupMountPoints': grpc.unary_unary_rpc_method_handler(
servicer.CleanupBackupMountPoints,
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
Expand Down Expand Up @@ -919,23 +903,6 @@ def BackupRestoreStatus(request,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

@staticmethod
def BackupRestoreFinish(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, '/imrpc.ProxyEngineService/BackupRestoreFinish',
imrpc_dot_proxy__pb2.EngineBackupRestoreFinishRequest.SerializeToString,
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

@staticmethod
def CleanupBackupMountPoints(request,
target,
Expand Down
68 changes: 33 additions & 35 deletions generated-py/spdkrpc/spdk_pb2.py

Large diffs are not rendered by default.

33 changes: 0 additions & 33 deletions generated-py/spdkrpc/spdk_pb2_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,6 @@ def __init__(self, channel):
request_serializer=spdkrpc_dot_spdk__pb2.EngineBackupRestoreRequest.SerializeToString,
response_deserializer=spdkrpc_dot_spdk__pb2.EngineBackupRestoreResponse.FromString,
)
self.EngineBackupRestoreFinish = channel.unary_unary(
'/spdkrpc.SPDKService/EngineBackupRestoreFinish',
request_serializer=spdkrpc_dot_spdk__pb2.EngineBackupRestoreFinishRequest.SerializeToString,
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
)
self.EngineRestoreStatus = channel.unary_unary(
'/spdkrpc.SPDKService/EngineRestoreStatus',
request_serializer=spdkrpc_dot_spdk__pb2.RestoreStatusRequest.SerializeToString,
Expand Down Expand Up @@ -554,12 +549,6 @@ def EngineBackupRestore(self, request, context):
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')

def EngineBackupRestoreFinish(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 EngineRestoreStatus(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
Expand Down Expand Up @@ -837,11 +826,6 @@ def add_SPDKServiceServicer_to_server(servicer, server):
request_deserializer=spdkrpc_dot_spdk__pb2.EngineBackupRestoreRequest.FromString,
response_serializer=spdkrpc_dot_spdk__pb2.EngineBackupRestoreResponse.SerializeToString,
),
'EngineBackupRestoreFinish': grpc.unary_unary_rpc_method_handler(
servicer.EngineBackupRestoreFinish,
request_deserializer=spdkrpc_dot_spdk__pb2.EngineBackupRestoreFinishRequest.FromString,
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
),
'EngineRestoreStatus': grpc.unary_unary_rpc_method_handler(
servicer.EngineRestoreStatus,
request_deserializer=spdkrpc_dot_spdk__pb2.RestoreStatusRequest.FromString,
Expand Down Expand Up @@ -1645,23 +1629,6 @@ def EngineBackupRestore(request,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

@staticmethod
def EngineBackupRestoreFinish(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, '/spdkrpc.SPDKService/EngineBackupRestoreFinish',
spdkrpc_dot_spdk__pb2.EngineBackupRestoreFinishRequest.SerializeToString,
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

@staticmethod
def EngineRestoreStatus(request,
target,
Expand Down
Loading

0 comments on commit af8f10e

Please sign in to comment.