Commit 80083c02 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

update sls 2

parent 812f03b3
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from . import level2spectra_pb2 as sls_dot_level2spectra_dot_level2spectra__pb2
class Level2spectraSrvStub(object):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):
"""Constructor.
......@@ -41,34 +42,34 @@ class Level2spectraSrvStub(object):
class Level2spectraSrvServicer(object):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
def Find(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""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 Get(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""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 Write(self, request_iterator, context):
"""Missing associated documentation comment in .proto file"""
"""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 UpdateQc2Status(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""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 UpdateProcStatus(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
......@@ -109,7 +110,7 @@ def add_Level2spectraSrvServicer_to_server(servicer, server):
# This class is part of an EXPERIMENTAL API.
class Level2spectraSrv(object):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
@staticmethod
def Find(request,
......@@ -117,6 +118,7 @@ class Level2spectraSrv(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
......@@ -125,7 +127,7 @@ class Level2spectraSrv(object):
sls_dot_level2spectra_dot_level2spectra__pb2.FindLevel2spectraReq.SerializeToString,
sls_dot_level2spectra_dot_level2spectra__pb2.FindLevel2spectraResp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Get(request,
......@@ -133,6 +135,7 @@ class Level2spectraSrv(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
......@@ -141,7 +144,7 @@ class Level2spectraSrv(object):
sls_dot_level2spectra_dot_level2spectra__pb2.GetLevel2spectraReq.SerializeToString,
sls_dot_level2spectra_dot_level2spectra__pb2.GetLevel2spectraResp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Write(request_iterator,
......@@ -149,6 +152,7 @@ class Level2spectraSrv(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
......@@ -157,7 +161,7 @@ class Level2spectraSrv(object):
sls_dot_level2spectra_dot_level2spectra__pb2.WriteLevel2spectraReq.SerializeToString,
sls_dot_level2spectra_dot_level2spectra__pb2.WriteLevel2spectraResp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def UpdateQc2Status(request,
......@@ -165,6 +169,7 @@ class Level2spectraSrv(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
......@@ -173,7 +178,7 @@ class Level2spectraSrv(object):
sls_dot_level2spectra_dot_level2spectra__pb2.UpdateQc2StatusReq.SerializeToString,
sls_dot_level2spectra_dot_level2spectra__pb2.UpdateQc2StatusResp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def UpdateProcStatus(request,
......@@ -181,6 +186,7 @@ class Level2spectraSrv(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
......@@ -189,4 +195,4 @@ class Level2spectraSrv(object):
sls_dot_level2spectra_dot_level2spectra__pb2.UpdateProcStatusReq.SerializeToString,
sls_dot_level2spectra_dot_level2spectra__pb2.UpdateProcStatusResp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment