diff options
Diffstat (limited to 'src/buildstream/_protos/buildstream/v2/buildstream_pb2_grpc.py')
-rw-r--r-- | src/buildstream/_protos/buildstream/v2/buildstream_pb2_grpc.py | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/src/buildstream/_protos/buildstream/v2/buildstream_pb2_grpc.py b/src/buildstream/_protos/buildstream/v2/buildstream_pb2_grpc.py index e60fd7f65..26a39d06e 100644 --- a/src/buildstream/_protos/buildstream/v2/buildstream_pb2_grpc.py +++ b/src/buildstream/_protos/buildstream/v2/buildstream_pb2_grpc.py @@ -137,64 +137,3 @@ class ReferenceStorage(object): buildstream_dot_v2_dot_buildstream__pb2.StatusResponse.FromString, options, channel_credentials, call_credentials, compression, wait_for_ready, timeout, metadata) - - -class CapabilitiesStub(object): - """Missing associated documentation comment in .proto file""" - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCapabilities = channel.unary_unary( - '/buildstream.v2.Capabilities/GetCapabilities', - request_serializer=buildstream_dot_v2_dot_buildstream__pb2.GetCapabilitiesRequest.SerializeToString, - response_deserializer=buildstream_dot_v2_dot_buildstream__pb2.ServerCapabilities.FromString, - ) - - -class CapabilitiesServicer(object): - """Missing associated documentation comment in .proto file""" - - def GetCapabilities(self, request, context): - """GetCapabilities mirrors - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_CapabilitiesServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetCapabilities': grpc.unary_unary_rpc_method_handler( - servicer.GetCapabilities, - request_deserializer=buildstream_dot_v2_dot_buildstream__pb2.GetCapabilitiesRequest.FromString, - response_serializer=buildstream_dot_v2_dot_buildstream__pb2.ServerCapabilities.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'buildstream.v2.Capabilities', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class Capabilities(object): - """Missing associated documentation comment in .proto file""" - - @staticmethod - def GetCapabilities(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/buildstream.v2.Capabilities/GetCapabilities', - buildstream_dot_v2_dot_buildstream__pb2.GetCapabilitiesRequest.SerializeToString, - buildstream_dot_v2_dot_buildstream__pb2.ServerCapabilities.FromString, - options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) |