blob: 564029e01bc04f9ed8d67e9bed41c840d14aad1f [file] [log] [blame]
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from api.v1 import api_pb2 as api_dot_v1_dot_api__pb2
class PlaygroundServiceStub(object):
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.RunCode = channel.unary_unary(
'/api.v1.PlaygroundService/RunCode',
request_serializer=api_dot_v1_dot_api__pb2.RunCodeRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.RunCodeResponse.FromString,
)
self.CheckStatus = channel.unary_unary(
'/api.v1.PlaygroundService/CheckStatus',
request_serializer=api_dot_v1_dot_api__pb2.CheckStatusRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.CheckStatusResponse.FromString,
)
self.GetRunOutput = channel.unary_unary(
'/api.v1.PlaygroundService/GetRunOutput',
request_serializer=api_dot_v1_dot_api__pb2.GetRunOutputRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetRunOutputResponse.FromString,
)
self.GetLogs = channel.unary_unary(
'/api.v1.PlaygroundService/GetLogs',
request_serializer=api_dot_v1_dot_api__pb2.GetLogsRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetLogsResponse.FromString,
)
self.GetGraph = channel.unary_unary(
'/api.v1.PlaygroundService/GetGraph',
request_serializer=api_dot_v1_dot_api__pb2.GetGraphRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetGraphResponse.FromString,
)
self.GetRunError = channel.unary_unary(
'/api.v1.PlaygroundService/GetRunError',
request_serializer=api_dot_v1_dot_api__pb2.GetRunErrorRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetRunErrorResponse.FromString,
)
self.GetValidationOutput = channel.unary_unary(
'/api.v1.PlaygroundService/GetValidationOutput',
request_serializer=api_dot_v1_dot_api__pb2.GetValidationOutputRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetValidationOutputResponse.FromString,
)
self.GetPreparationOutput = channel.unary_unary(
'/api.v1.PlaygroundService/GetPreparationOutput',
request_serializer=api_dot_v1_dot_api__pb2.GetPreparationOutputRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetPreparationOutputResponse.FromString,
)
self.GetCompileOutput = channel.unary_unary(
'/api.v1.PlaygroundService/GetCompileOutput',
request_serializer=api_dot_v1_dot_api__pb2.GetCompileOutputRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetCompileOutputResponse.FromString,
)
self.Cancel = channel.unary_unary(
'/api.v1.PlaygroundService/Cancel',
request_serializer=api_dot_v1_dot_api__pb2.CancelRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.CancelResponse.FromString,
)
self.GetPrecompiledObjects = channel.unary_unary(
'/api.v1.PlaygroundService/GetPrecompiledObjects',
request_serializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectsRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectsResponse.FromString,
)
self.GetPrecompiledObject = channel.unary_unary(
'/api.v1.PlaygroundService/GetPrecompiledObject',
request_serializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectResponse.FromString,
)
self.GetPrecompiledObjectCode = channel.unary_unary(
'/api.v1.PlaygroundService/GetPrecompiledObjectCode',
request_serializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectCodeRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectCodeResponse.FromString,
)
self.GetPrecompiledObjectOutput = channel.unary_unary(
'/api.v1.PlaygroundService/GetPrecompiledObjectOutput',
request_serializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectOutputRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectOutputResponse.FromString,
)
self.GetPrecompiledObjectLogs = channel.unary_unary(
'/api.v1.PlaygroundService/GetPrecompiledObjectLogs',
request_serializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectLogsRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectLogsResponse.FromString,
)
self.GetPrecompiledObjectGraph = channel.unary_unary(
'/api.v1.PlaygroundService/GetPrecompiledObjectGraph',
request_serializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectGraphRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectGraphResponse.FromString,
)
self.GetDefaultPrecompiledObject = channel.unary_unary(
'/api.v1.PlaygroundService/GetDefaultPrecompiledObject',
request_serializer=api_dot_v1_dot_api__pb2.GetDefaultPrecompiledObjectRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetDefaultPrecompiledObjectResponse.FromString,
)
self.SaveSnippet = channel.unary_unary(
'/api.v1.PlaygroundService/SaveSnippet',
request_serializer=api_dot_v1_dot_api__pb2.SaveSnippetRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.SaveSnippetResponse.FromString,
)
self.GetSnippet = channel.unary_unary(
'/api.v1.PlaygroundService/GetSnippet',
request_serializer=api_dot_v1_dot_api__pb2.GetSnippetRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetSnippetResponse.FromString,
)
self.GetMetadata = channel.unary_unary(
'/api.v1.PlaygroundService/GetMetadata',
request_serializer=api_dot_v1_dot_api__pb2.GetMetadataRequest.SerializeToString,
response_deserializer=api_dot_v1_dot_api__pb2.GetMetadataResponse.FromString,
)
class PlaygroundServiceServicer(object):
"""Missing associated documentation comment in .proto file."""
def RunCode(self, request, context):
"""Submit the job for an execution and get the pipeline uuid.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def CheckStatus(self, request, context):
"""Get the status of pipeline execution.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetRunOutput(self, request, context):
"""Get the result of pipeline execution.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetLogs(self, request, context):
"""Get the logs of pipeline execution.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetGraph(self, request, context):
"""Get the string representation of the pipeline execution graph in DOT format.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetRunError(self, request, context):
"""Get the error of pipeline execution.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetValidationOutput(self, request, context):
"""Get the result of pipeline validation.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetPreparationOutput(self, request, context):
"""Get the result of pipeline preparation.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetCompileOutput(self, request, context):
"""Get the result of pipeline compilation.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Cancel(self, request, context):
"""Cancel code processing
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetPrecompiledObjects(self, request, context):
"""Get all precompiled objects from the cloud datastore.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetPrecompiledObject(self, request, context):
"""Get precompiled object from the cloud datastore.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetPrecompiledObjectCode(self, request, context):
"""Get the code of an PrecompiledObject.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetPrecompiledObjectOutput(self, request, context):
"""Get the precompiled details of an PrecompiledObject.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetPrecompiledObjectLogs(self, request, context):
"""Get the logs of an PrecompiledObject.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetPrecompiledObjectGraph(self, request, context):
"""Get the graph of an PrecompiledObject.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetDefaultPrecompiledObject(self, request, context):
"""Get the default precompile object for the sdk.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def SaveSnippet(self, request, context):
"""Save the snippet required for the sharing.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetSnippet(self, request, context):
"""Get the snippet of playground.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetMetadata(self, request, context):
"""Get the runner metadata.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_PlaygroundServiceServicer_to_server(servicer, server):
rpc_method_handlers = {
'RunCode': grpc.unary_unary_rpc_method_handler(
servicer.RunCode,
request_deserializer=api_dot_v1_dot_api__pb2.RunCodeRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.RunCodeResponse.SerializeToString,
),
'CheckStatus': grpc.unary_unary_rpc_method_handler(
servicer.CheckStatus,
request_deserializer=api_dot_v1_dot_api__pb2.CheckStatusRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.CheckStatusResponse.SerializeToString,
),
'GetRunOutput': grpc.unary_unary_rpc_method_handler(
servicer.GetRunOutput,
request_deserializer=api_dot_v1_dot_api__pb2.GetRunOutputRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetRunOutputResponse.SerializeToString,
),
'GetLogs': grpc.unary_unary_rpc_method_handler(
servicer.GetLogs,
request_deserializer=api_dot_v1_dot_api__pb2.GetLogsRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetLogsResponse.SerializeToString,
),
'GetGraph': grpc.unary_unary_rpc_method_handler(
servicer.GetGraph,
request_deserializer=api_dot_v1_dot_api__pb2.GetGraphRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetGraphResponse.SerializeToString,
),
'GetRunError': grpc.unary_unary_rpc_method_handler(
servicer.GetRunError,
request_deserializer=api_dot_v1_dot_api__pb2.GetRunErrorRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetRunErrorResponse.SerializeToString,
),
'GetValidationOutput': grpc.unary_unary_rpc_method_handler(
servicer.GetValidationOutput,
request_deserializer=api_dot_v1_dot_api__pb2.GetValidationOutputRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetValidationOutputResponse.SerializeToString,
),
'GetPreparationOutput': grpc.unary_unary_rpc_method_handler(
servicer.GetPreparationOutput,
request_deserializer=api_dot_v1_dot_api__pb2.GetPreparationOutputRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetPreparationOutputResponse.SerializeToString,
),
'GetCompileOutput': grpc.unary_unary_rpc_method_handler(
servicer.GetCompileOutput,
request_deserializer=api_dot_v1_dot_api__pb2.GetCompileOutputRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetCompileOutputResponse.SerializeToString,
),
'Cancel': grpc.unary_unary_rpc_method_handler(
servicer.Cancel,
request_deserializer=api_dot_v1_dot_api__pb2.CancelRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.CancelResponse.SerializeToString,
),
'GetPrecompiledObjects': grpc.unary_unary_rpc_method_handler(
servicer.GetPrecompiledObjects,
request_deserializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectsRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectsResponse.SerializeToString,
),
'GetPrecompiledObject': grpc.unary_unary_rpc_method_handler(
servicer.GetPrecompiledObject,
request_deserializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectResponse.SerializeToString,
),
'GetPrecompiledObjectCode': grpc.unary_unary_rpc_method_handler(
servicer.GetPrecompiledObjectCode,
request_deserializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectCodeRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectCodeResponse.SerializeToString,
),
'GetPrecompiledObjectOutput': grpc.unary_unary_rpc_method_handler(
servicer.GetPrecompiledObjectOutput,
request_deserializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectOutputRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectOutputResponse.SerializeToString,
),
'GetPrecompiledObjectLogs': grpc.unary_unary_rpc_method_handler(
servicer.GetPrecompiledObjectLogs,
request_deserializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectLogsRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectLogsResponse.SerializeToString,
),
'GetPrecompiledObjectGraph': grpc.unary_unary_rpc_method_handler(
servicer.GetPrecompiledObjectGraph,
request_deserializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectGraphRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetPrecompiledObjectGraphResponse.SerializeToString,
),
'GetDefaultPrecompiledObject': grpc.unary_unary_rpc_method_handler(
servicer.GetDefaultPrecompiledObject,
request_deserializer=api_dot_v1_dot_api__pb2.GetDefaultPrecompiledObjectRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetDefaultPrecompiledObjectResponse.SerializeToString,
),
'SaveSnippet': grpc.unary_unary_rpc_method_handler(
servicer.SaveSnippet,
request_deserializer=api_dot_v1_dot_api__pb2.SaveSnippetRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.SaveSnippetResponse.SerializeToString,
),
'GetSnippet': grpc.unary_unary_rpc_method_handler(
servicer.GetSnippet,
request_deserializer=api_dot_v1_dot_api__pb2.GetSnippetRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetSnippetResponse.SerializeToString,
),
'GetMetadata': grpc.unary_unary_rpc_method_handler(
servicer.GetMetadata,
request_deserializer=api_dot_v1_dot_api__pb2.GetMetadataRequest.FromString,
response_serializer=api_dot_v1_dot_api__pb2.GetMetadataResponse.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'api.v1.PlaygroundService', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
class PlaygroundService(object):
"""Missing associated documentation comment in .proto file."""
@staticmethod
def RunCode(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, '/api.v1.PlaygroundService/RunCode',
api_dot_v1_dot_api__pb2.RunCodeRequest.SerializeToString,
api_dot_v1_dot_api__pb2.RunCodeResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def CheckStatus(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, '/api.v1.PlaygroundService/CheckStatus',
api_dot_v1_dot_api__pb2.CheckStatusRequest.SerializeToString,
api_dot_v1_dot_api__pb2.CheckStatusResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetRunOutput(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, '/api.v1.PlaygroundService/GetRunOutput',
api_dot_v1_dot_api__pb2.GetRunOutputRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetRunOutputResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetLogs(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, '/api.v1.PlaygroundService/GetLogs',
api_dot_v1_dot_api__pb2.GetLogsRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetLogsResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetGraph(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, '/api.v1.PlaygroundService/GetGraph',
api_dot_v1_dot_api__pb2.GetGraphRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetGraphResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetRunError(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, '/api.v1.PlaygroundService/GetRunError',
api_dot_v1_dot_api__pb2.GetRunErrorRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetRunErrorResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetValidationOutput(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, '/api.v1.PlaygroundService/GetValidationOutput',
api_dot_v1_dot_api__pb2.GetValidationOutputRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetValidationOutputResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetPreparationOutput(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, '/api.v1.PlaygroundService/GetPreparationOutput',
api_dot_v1_dot_api__pb2.GetPreparationOutputRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetPreparationOutputResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetCompileOutput(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, '/api.v1.PlaygroundService/GetCompileOutput',
api_dot_v1_dot_api__pb2.GetCompileOutputRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetCompileOutputResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Cancel(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, '/api.v1.PlaygroundService/Cancel',
api_dot_v1_dot_api__pb2.CancelRequest.SerializeToString,
api_dot_v1_dot_api__pb2.CancelResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetPrecompiledObjects(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, '/api.v1.PlaygroundService/GetPrecompiledObjects',
api_dot_v1_dot_api__pb2.GetPrecompiledObjectsRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetPrecompiledObjectsResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetPrecompiledObject(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, '/api.v1.PlaygroundService/GetPrecompiledObject',
api_dot_v1_dot_api__pb2.GetPrecompiledObjectRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetPrecompiledObjectResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetPrecompiledObjectCode(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, '/api.v1.PlaygroundService/GetPrecompiledObjectCode',
api_dot_v1_dot_api__pb2.GetPrecompiledObjectCodeRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetPrecompiledObjectCodeResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetPrecompiledObjectOutput(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, '/api.v1.PlaygroundService/GetPrecompiledObjectOutput',
api_dot_v1_dot_api__pb2.GetPrecompiledObjectOutputRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetPrecompiledObjectOutputResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetPrecompiledObjectLogs(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, '/api.v1.PlaygroundService/GetPrecompiledObjectLogs',
api_dot_v1_dot_api__pb2.GetPrecompiledObjectLogsRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetPrecompiledObjectLogsResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetPrecompiledObjectGraph(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, '/api.v1.PlaygroundService/GetPrecompiledObjectGraph',
api_dot_v1_dot_api__pb2.GetPrecompiledObjectGraphRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetPrecompiledObjectGraphResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetDefaultPrecompiledObject(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, '/api.v1.PlaygroundService/GetDefaultPrecompiledObject',
api_dot_v1_dot_api__pb2.GetDefaultPrecompiledObjectRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetDefaultPrecompiledObjectResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def SaveSnippet(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, '/api.v1.PlaygroundService/SaveSnippet',
api_dot_v1_dot_api__pb2.SaveSnippetRequest.SerializeToString,
api_dot_v1_dot_api__pb2.SaveSnippetResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetSnippet(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, '/api.v1.PlaygroundService/GetSnippet',
api_dot_v1_dot_api__pb2.GetSnippetRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetSnippetResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetMetadata(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, '/api.v1.PlaygroundService/GetMetadata',
api_dot_v1_dot_api__pb2.GetMetadataRequest.SerializeToString,
api_dot_v1_dot_api__pb2.GetMetadataResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)