Create attractive VASL scenarios, with loads of useful information embedded to assist with game play.
https://vasl-templates.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
898 lines
42 KiB
898 lines
42 KiB
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
"""Client and server classes corresponding to protobuf-defined services."""
|
|
import grpc
|
|
|
|
import vasl_templates.webapp.tests.proto.generated.control_tests_pb2 as control__tests__pb2
|
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
|
|
|
|
class ControlTestsStub(object):
|
|
"""--------------------------------------------------------------------
|
|
|
|
"""
|
|
|
|
def __init__(self, channel):
|
|
"""Constructor.
|
|
|
|
Args:
|
|
channel: A grpc.Channel.
|
|
"""
|
|
self.startTests = channel.unary_unary(
|
|
'/ControlTests/startTests',
|
|
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
response_deserializer=control__tests__pb2.StartTestsResponse.FromString,
|
|
)
|
|
self.endTests = channel.unary_unary(
|
|
'/ControlTests/endTests',
|
|
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
self.getVassalVersions = channel.unary_unary(
|
|
'/ControlTests/getVassalVersions',
|
|
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
response_deserializer=control__tests__pb2.GetVassalVersionsResponse.FromString,
|
|
)
|
|
self.setVassalVersion = channel.unary_unary(
|
|
'/ControlTests/setVassalVersion',
|
|
request_serializer=control__tests__pb2.SetVassalVersionRequest.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
self.getVaslVersions = channel.unary_unary(
|
|
'/ControlTests/getVaslVersions',
|
|
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
response_deserializer=control__tests__pb2.GetVaslVersionsResponse.FromString,
|
|
)
|
|
self.setVaslVersion = channel.unary_unary(
|
|
'/ControlTests/setVaslVersion',
|
|
request_serializer=control__tests__pb2.SetVaslVersionRequest.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
self.getVaslExtns = channel.unary_unary(
|
|
'/ControlTests/getVaslExtns',
|
|
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
response_deserializer=control__tests__pb2.GetVaslExtnsResponse.FromString,
|
|
)
|
|
self.setVaslExtnInfoDir = channel.unary_unary(
|
|
'/ControlTests/setVaslExtnInfoDir',
|
|
request_serializer=control__tests__pb2.SetVaslExtnInfoDirRequest.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
self.setGpidRemappings = channel.unary_unary(
|
|
'/ControlTests/setGpidRemappings',
|
|
request_serializer=control__tests__pb2.SetGpidRemappingsRequest.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
self.getVaslModWarnings = channel.unary_unary(
|
|
'/ControlTests/getVaslModWarnings',
|
|
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
response_deserializer=control__tests__pb2.GetVaslModWarningsResponse.FromString,
|
|
)
|
|
self.setDataDir = channel.unary_unary(
|
|
'/ControlTests/setDataDir',
|
|
request_serializer=control__tests__pb2.SetDataDirRequest.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
self.setDefaultScenario = channel.unary_unary(
|
|
'/ControlTests/setDefaultScenario',
|
|
request_serializer=control__tests__pb2.SetDefaultScenarioRequest.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
self.setDefaultTemplatePack = channel.unary_unary(
|
|
'/ControlTests/setDefaultTemplatePack',
|
|
request_serializer=control__tests__pb2.SetDefaultTemplatePackRequest.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
self.setVehOrdNotesDir = channel.unary_unary(
|
|
'/ControlTests/setVehOrdNotesDir',
|
|
request_serializer=control__tests__pb2.SetVehOrdNotesDirRequest.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
self.setUserFilesDir = channel.unary_unary(
|
|
'/ControlTests/setUserFilesDir',
|
|
request_serializer=control__tests__pb2.SetUserFilesDirRequest.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
self.setAsaScenarioIndex = channel.unary_unary(
|
|
'/ControlTests/setAsaScenarioIndex',
|
|
request_serializer=control__tests__pb2.SetAsaScenarioIndexRequest.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
self.setRoarScenarioIndex = channel.unary_unary(
|
|
'/ControlTests/setRoarScenarioIndex',
|
|
request_serializer=control__tests__pb2.SetRoarScenarioIndexRequest.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
self.getLastSnippetImage = channel.unary_unary(
|
|
'/ControlTests/getLastSnippetImage',
|
|
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
response_deserializer=control__tests__pb2.GetLastSnippetImageResponse.FromString,
|
|
)
|
|
self.resetLastAsaUpload = channel.unary_unary(
|
|
'/ControlTests/resetLastAsaUpload',
|
|
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
self.getLastAsaUpload = channel.unary_unary(
|
|
'/ControlTests/getLastAsaUpload',
|
|
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
response_deserializer=control__tests__pb2.GetLastAsaUploadResponse.FromString,
|
|
)
|
|
self.dumpVsav = channel.unary_unary(
|
|
'/ControlTests/dumpVsav',
|
|
request_serializer=control__tests__pb2.DumpVsavRequest.SerializeToString,
|
|
response_deserializer=control__tests__pb2.DumpVsavResponse.FromString,
|
|
)
|
|
self.getVaslPieces = channel.unary_unary(
|
|
'/ControlTests/getVaslPieces',
|
|
request_serializer=control__tests__pb2.GetVaslPiecesRequest.SerializeToString,
|
|
response_deserializer=control__tests__pb2.GetVaslPiecesResponse.FromString,
|
|
)
|
|
self.getAppConfig = channel.unary_unary(
|
|
'/ControlTests/getAppConfig',
|
|
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
response_deserializer=control__tests__pb2.GetAppConfigResponse.FromString,
|
|
)
|
|
self.setAppConfigVal = channel.unary_unary(
|
|
'/ControlTests/setAppConfigVal',
|
|
request_serializer=control__tests__pb2.SetAppConfigValRequest.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
self.deleteAppConfigVal = channel.unary_unary(
|
|
'/ControlTests/deleteAppConfigVal',
|
|
request_serializer=control__tests__pb2.DeleteAppConfigValRequest.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
self.saveTempFile = channel.unary_unary(
|
|
'/ControlTests/saveTempFile',
|
|
request_serializer=control__tests__pb2.SaveTempFileRequest.SerializeToString,
|
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
)
|
|
|
|
|
|
class ControlTestsServicer(object):
|
|
"""--------------------------------------------------------------------
|
|
|
|
"""
|
|
|
|
def startTests(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 endTests(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 getVassalVersions(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 setVassalVersion(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 getVaslVersions(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 setVaslVersion(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 getVaslExtns(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 setVaslExtnInfoDir(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 setGpidRemappings(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 getVaslModWarnings(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 setDataDir(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 setDefaultScenario(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 setDefaultTemplatePack(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 setVehOrdNotesDir(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 setUserFilesDir(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 setAsaScenarioIndex(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 setRoarScenarioIndex(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 getLastSnippetImage(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 resetLastAsaUpload(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 getLastAsaUpload(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 dumpVsav(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 getVaslPieces(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 getAppConfig(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 setAppConfigVal(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 deleteAppConfigVal(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 saveTempFile(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 add_ControlTestsServicer_to_server(servicer, server):
|
|
rpc_method_handlers = {
|
|
'startTests': grpc.unary_unary_rpc_method_handler(
|
|
servicer.startTests,
|
|
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
response_serializer=control__tests__pb2.StartTestsResponse.SerializeToString,
|
|
),
|
|
'endTests': grpc.unary_unary_rpc_method_handler(
|
|
servicer.endTests,
|
|
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
'getVassalVersions': grpc.unary_unary_rpc_method_handler(
|
|
servicer.getVassalVersions,
|
|
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
response_serializer=control__tests__pb2.GetVassalVersionsResponse.SerializeToString,
|
|
),
|
|
'setVassalVersion': grpc.unary_unary_rpc_method_handler(
|
|
servicer.setVassalVersion,
|
|
request_deserializer=control__tests__pb2.SetVassalVersionRequest.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
'getVaslVersions': grpc.unary_unary_rpc_method_handler(
|
|
servicer.getVaslVersions,
|
|
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
response_serializer=control__tests__pb2.GetVaslVersionsResponse.SerializeToString,
|
|
),
|
|
'setVaslVersion': grpc.unary_unary_rpc_method_handler(
|
|
servicer.setVaslVersion,
|
|
request_deserializer=control__tests__pb2.SetVaslVersionRequest.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
'getVaslExtns': grpc.unary_unary_rpc_method_handler(
|
|
servicer.getVaslExtns,
|
|
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
response_serializer=control__tests__pb2.GetVaslExtnsResponse.SerializeToString,
|
|
),
|
|
'setVaslExtnInfoDir': grpc.unary_unary_rpc_method_handler(
|
|
servicer.setVaslExtnInfoDir,
|
|
request_deserializer=control__tests__pb2.SetVaslExtnInfoDirRequest.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
'setGpidRemappings': grpc.unary_unary_rpc_method_handler(
|
|
servicer.setGpidRemappings,
|
|
request_deserializer=control__tests__pb2.SetGpidRemappingsRequest.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
'getVaslModWarnings': grpc.unary_unary_rpc_method_handler(
|
|
servicer.getVaslModWarnings,
|
|
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
response_serializer=control__tests__pb2.GetVaslModWarningsResponse.SerializeToString,
|
|
),
|
|
'setDataDir': grpc.unary_unary_rpc_method_handler(
|
|
servicer.setDataDir,
|
|
request_deserializer=control__tests__pb2.SetDataDirRequest.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
'setDefaultScenario': grpc.unary_unary_rpc_method_handler(
|
|
servicer.setDefaultScenario,
|
|
request_deserializer=control__tests__pb2.SetDefaultScenarioRequest.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
'setDefaultTemplatePack': grpc.unary_unary_rpc_method_handler(
|
|
servicer.setDefaultTemplatePack,
|
|
request_deserializer=control__tests__pb2.SetDefaultTemplatePackRequest.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
'setVehOrdNotesDir': grpc.unary_unary_rpc_method_handler(
|
|
servicer.setVehOrdNotesDir,
|
|
request_deserializer=control__tests__pb2.SetVehOrdNotesDirRequest.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
'setUserFilesDir': grpc.unary_unary_rpc_method_handler(
|
|
servicer.setUserFilesDir,
|
|
request_deserializer=control__tests__pb2.SetUserFilesDirRequest.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
'setAsaScenarioIndex': grpc.unary_unary_rpc_method_handler(
|
|
servicer.setAsaScenarioIndex,
|
|
request_deserializer=control__tests__pb2.SetAsaScenarioIndexRequest.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
'setRoarScenarioIndex': grpc.unary_unary_rpc_method_handler(
|
|
servicer.setRoarScenarioIndex,
|
|
request_deserializer=control__tests__pb2.SetRoarScenarioIndexRequest.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
'getLastSnippetImage': grpc.unary_unary_rpc_method_handler(
|
|
servicer.getLastSnippetImage,
|
|
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
response_serializer=control__tests__pb2.GetLastSnippetImageResponse.SerializeToString,
|
|
),
|
|
'resetLastAsaUpload': grpc.unary_unary_rpc_method_handler(
|
|
servicer.resetLastAsaUpload,
|
|
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
'getLastAsaUpload': grpc.unary_unary_rpc_method_handler(
|
|
servicer.getLastAsaUpload,
|
|
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
response_serializer=control__tests__pb2.GetLastAsaUploadResponse.SerializeToString,
|
|
),
|
|
'dumpVsav': grpc.unary_unary_rpc_method_handler(
|
|
servicer.dumpVsav,
|
|
request_deserializer=control__tests__pb2.DumpVsavRequest.FromString,
|
|
response_serializer=control__tests__pb2.DumpVsavResponse.SerializeToString,
|
|
),
|
|
'getVaslPieces': grpc.unary_unary_rpc_method_handler(
|
|
servicer.getVaslPieces,
|
|
request_deserializer=control__tests__pb2.GetVaslPiecesRequest.FromString,
|
|
response_serializer=control__tests__pb2.GetVaslPiecesResponse.SerializeToString,
|
|
),
|
|
'getAppConfig': grpc.unary_unary_rpc_method_handler(
|
|
servicer.getAppConfig,
|
|
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
response_serializer=control__tests__pb2.GetAppConfigResponse.SerializeToString,
|
|
),
|
|
'setAppConfigVal': grpc.unary_unary_rpc_method_handler(
|
|
servicer.setAppConfigVal,
|
|
request_deserializer=control__tests__pb2.SetAppConfigValRequest.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
'deleteAppConfigVal': grpc.unary_unary_rpc_method_handler(
|
|
servicer.deleteAppConfigVal,
|
|
request_deserializer=control__tests__pb2.DeleteAppConfigValRequest.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
'saveTempFile': grpc.unary_unary_rpc_method_handler(
|
|
servicer.saveTempFile,
|
|
request_deserializer=control__tests__pb2.SaveTempFileRequest.FromString,
|
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
),
|
|
}
|
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
'ControlTests', rpc_method_handlers)
|
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
|
|
|
|
# This class is part of an EXPERIMENTAL API.
|
|
class ControlTests(object):
|
|
"""--------------------------------------------------------------------
|
|
|
|
"""
|
|
|
|
@staticmethod
|
|
def startTests(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, '/ControlTests/startTests',
|
|
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
control__tests__pb2.StartTestsResponse.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def endTests(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, '/ControlTests/endTests',
|
|
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def getVassalVersions(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, '/ControlTests/getVassalVersions',
|
|
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
control__tests__pb2.GetVassalVersionsResponse.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def setVassalVersion(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, '/ControlTests/setVassalVersion',
|
|
control__tests__pb2.SetVassalVersionRequest.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def getVaslVersions(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, '/ControlTests/getVaslVersions',
|
|
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
control__tests__pb2.GetVaslVersionsResponse.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def setVaslVersion(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, '/ControlTests/setVaslVersion',
|
|
control__tests__pb2.SetVaslVersionRequest.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def getVaslExtns(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, '/ControlTests/getVaslExtns',
|
|
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
control__tests__pb2.GetVaslExtnsResponse.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def setVaslExtnInfoDir(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, '/ControlTests/setVaslExtnInfoDir',
|
|
control__tests__pb2.SetVaslExtnInfoDirRequest.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def setGpidRemappings(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, '/ControlTests/setGpidRemappings',
|
|
control__tests__pb2.SetGpidRemappingsRequest.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def getVaslModWarnings(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, '/ControlTests/getVaslModWarnings',
|
|
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
control__tests__pb2.GetVaslModWarningsResponse.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def setDataDir(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, '/ControlTests/setDataDir',
|
|
control__tests__pb2.SetDataDirRequest.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def setDefaultScenario(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, '/ControlTests/setDefaultScenario',
|
|
control__tests__pb2.SetDefaultScenarioRequest.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def setDefaultTemplatePack(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, '/ControlTests/setDefaultTemplatePack',
|
|
control__tests__pb2.SetDefaultTemplatePackRequest.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def setVehOrdNotesDir(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, '/ControlTests/setVehOrdNotesDir',
|
|
control__tests__pb2.SetVehOrdNotesDirRequest.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def setUserFilesDir(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, '/ControlTests/setUserFilesDir',
|
|
control__tests__pb2.SetUserFilesDirRequest.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def setAsaScenarioIndex(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, '/ControlTests/setAsaScenarioIndex',
|
|
control__tests__pb2.SetAsaScenarioIndexRequest.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def setRoarScenarioIndex(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, '/ControlTests/setRoarScenarioIndex',
|
|
control__tests__pb2.SetRoarScenarioIndexRequest.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def getLastSnippetImage(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, '/ControlTests/getLastSnippetImage',
|
|
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
control__tests__pb2.GetLastSnippetImageResponse.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def resetLastAsaUpload(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, '/ControlTests/resetLastAsaUpload',
|
|
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def getLastAsaUpload(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, '/ControlTests/getLastAsaUpload',
|
|
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
control__tests__pb2.GetLastAsaUploadResponse.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def dumpVsav(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, '/ControlTests/dumpVsav',
|
|
control__tests__pb2.DumpVsavRequest.SerializeToString,
|
|
control__tests__pb2.DumpVsavResponse.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def getVaslPieces(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, '/ControlTests/getVaslPieces',
|
|
control__tests__pb2.GetVaslPiecesRequest.SerializeToString,
|
|
control__tests__pb2.GetVaslPiecesResponse.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def getAppConfig(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, '/ControlTests/getAppConfig',
|
|
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
control__tests__pb2.GetAppConfigResponse.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def setAppConfigVal(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, '/ControlTests/setAppConfigVal',
|
|
control__tests__pb2.SetAppConfigValRequest.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def deleteAppConfigVal(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, '/ControlTests/deleteAppConfigVal',
|
|
control__tests__pb2.DeleteAppConfigValRequest.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
|
@staticmethod
|
|
def saveTempFile(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, '/ControlTests/saveTempFile',
|
|
control__tests__pb2.SaveTempFileRequest.SerializeToString,
|
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
options, channel_credentials,
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|