From b1506ec7c0288b8a57689cd6c5034cac4ce928c8 Mon Sep 17 00:00:00 2001 From: Rhys Lloyd Date: Sun, 28 Dec 2025 20:18:07 +0000 Subject: [PATCH] Autogenerated update for https://git.itzana.me/StrafesNET/protobufs/compare/0773cba6c734043d607677af9e2aeeb8f714d355...83ebab1cc61a165b5163d0a6f05ee09c34d33b9d --- strafesnet/mapfixes_pb2.py | 55 +++++++++ strafesnet/mapfixes_pb2_grpc.py | 183 +++++++++++++++++++++++++++++ strafesnet/submissions_pb2.py | 55 +++++++++ strafesnet/submissions_pb2_grpc.py | 183 +++++++++++++++++++++++++++++ 4 files changed, 476 insertions(+) create mode 100644 strafesnet/mapfixes_pb2.py create mode 100644 strafesnet/mapfixes_pb2_grpc.py create mode 100644 strafesnet/submissions_pb2.py create mode 100644 strafesnet/submissions_pb2_grpc.py diff --git a/strafesnet/mapfixes_pb2.py b/strafesnet/mapfixes_pb2.py new file mode 100644 index 0000000..4e047a2 --- /dev/null +++ b/strafesnet/mapfixes_pb2.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: mapfixes.proto +# Protobuf Python Version: 6.31.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 31, + 1, + '', + 'mapfixes.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0emapfixes.proto\x12\x08mapfixes\"\x1a\n\x0cMapfixIdList\x12\n\n\x02ID\x18\x01 \x03(\x03\"\x16\n\x08MapfixId\x12\n\n\x02ID\x18\x01 \x01(\x03\"\xae\x02\n\x0eMapfixResponse\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x13\n\x0b\x44isplayName\x18\x02 \x01(\t\x12\x0f\n\x07\x43reator\x18\x03 \x01(\t\x12\x0e\n\x06GameID\x18\x04 \x01(\r\x12\x11\n\tCreatedAt\x18\x05 \x01(\x03\x12\x11\n\tUpdatedAt\x18\x06 \x01(\x03\x12\x11\n\tSubmitter\x18\x07 \x01(\x04\x12\x0f\n\x07\x41ssetID\x18\x08 \x01(\x04\x12\x14\n\x0c\x41ssetVersion\x18\t \x01(\x04\x12\x18\n\x10ValidatedAssetID\x18\n \x01(\x04\x12\x1d\n\x15ValidatedAssetVersion\x18\x0b \x01(\x04\x12\x17\n\x0fUploadedAssetID\x18\x0c \x01(\x04\x12(\n\x08StatusID\x18\r \x01(\x0e\x32\x16.mapfixes.MapfixStatus\"\xdc\x01\n\x0cMapfixFilter\x12-\n\x08StatusID\x18\x01 \x01(\x0e\x32\x16.mapfixes.MapfixStatusH\x00\x88\x01\x01\x12\x18\n\x0b\x44isplayName\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x07\x43reator\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06GameID\x18\x04 \x01(\rH\x03\x88\x01\x01\x12\x16\n\tSubmitter\x18\x05 \x01(\x04H\x04\x88\x01\x01\x42\x0b\n\t_StatusIDB\x0e\n\x0c_DisplayNameB\n\n\x08_CreatorB\t\n\x07_GameIDB\x0c\n\n_Submitter\"8\n\nMapfixList\x12*\n\x08Mapfixes\x18\x01 \x03(\x0b\x32\x18.mapfixes.MapfixResponse\"Y\n\x0bListRequest\x12&\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x16.mapfixes.MapfixFilter\x12\"\n\x04Page\x18\x02 \x01(\x0b\x32\x14.mapfixes.Pagination\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\r\x12\x0e\n\x06Number\x18\x02 \x01(\r\"\x0e\n\x0cNullResponse*\xea\x02\n\x0cMapfixStatus\x12!\n\x1dMapfixStatusUnderConstruction\x10\x00\x12 \n\x1cMapfixStatusChangesRequested\x10\x01\x12\x1a\n\x16MapfixStatusSubmitting\x10\x02\x12\x19\n\x15MapfixStatusSubmitted\x10\x03\x12#\n\x1fMapfixStatusAcceptedUnvalidated\x10\x04\x12\x1a\n\x16MapfixStatusValidating\x10\x05\x12\x19\n\x15MapfixStatusValidated\x10\x06\x12\x19\n\x15MapfixStatusUploading\x10\x07\x12\x18\n\x14MapfixStatusUploaded\x10\x08\x12\x19\n\x15MapfixStatusReleasing\x10\x0b\x12\x18\n\x14MapfixStatusRejected\x10\t\x12\x18\n\x14MapfixStatusReleased\x10\n2\xb4\x01\n\x0fMapfixesService\x12\x33\n\x03Get\x12\x12.mapfixes.MapfixId\x1a\x18.mapfixes.MapfixResponse\x12\x37\n\x07GetList\x12\x16.mapfixes.MapfixIdList\x1a\x14.mapfixes.MapfixList\x12\x33\n\x04List\x12\x15.mapfixes.ListRequest\x1a\x14.mapfixes.MapfixListB+Z)git.itzana.me/strafesnet/go-grpc/mapfixesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mapfixes_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z)git.itzana.me/strafesnet/go-grpc/mapfixes' + _globals['_MAPFIXSTATUS']._serialized_start=818 + _globals['_MAPFIXSTATUS']._serialized_end=1180 + _globals['_MAPFIXIDLIST']._serialized_start=28 + _globals['_MAPFIXIDLIST']._serialized_end=54 + _globals['_MAPFIXID']._serialized_start=56 + _globals['_MAPFIXID']._serialized_end=78 + _globals['_MAPFIXRESPONSE']._serialized_start=81 + _globals['_MAPFIXRESPONSE']._serialized_end=383 + _globals['_MAPFIXFILTER']._serialized_start=386 + _globals['_MAPFIXFILTER']._serialized_end=606 + _globals['_MAPFIXLIST']._serialized_start=608 + _globals['_MAPFIXLIST']._serialized_end=664 + _globals['_LISTREQUEST']._serialized_start=666 + _globals['_LISTREQUEST']._serialized_end=755 + _globals['_PAGINATION']._serialized_start=757 + _globals['_PAGINATION']._serialized_end=799 + _globals['_NULLRESPONSE']._serialized_start=801 + _globals['_NULLRESPONSE']._serialized_end=815 + _globals['_MAPFIXESSERVICE']._serialized_start=1183 + _globals['_MAPFIXESSERVICE']._serialized_end=1363 +# @@protoc_insertion_point(module_scope) diff --git a/strafesnet/mapfixes_pb2_grpc.py b/strafesnet/mapfixes_pb2_grpc.py new file mode 100644 index 0000000..671510c --- /dev/null +++ b/strafesnet/mapfixes_pb2_grpc.py @@ -0,0 +1,183 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc +import warnings + +from . import mapfixes_pb2 as mapfixes__pb2 + +GRPC_GENERATED_VERSION = '1.74.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in mapfixes_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + + +class MapfixesServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Get = channel.unary_unary( + '/mapfixes.MapfixesService/Get', + request_serializer=mapfixes__pb2.MapfixId.SerializeToString, + response_deserializer=mapfixes__pb2.MapfixResponse.FromString, + _registered_method=True) + self.GetList = channel.unary_unary( + '/mapfixes.MapfixesService/GetList', + request_serializer=mapfixes__pb2.MapfixIdList.SerializeToString, + response_deserializer=mapfixes__pb2.MapfixList.FromString, + _registered_method=True) + self.List = channel.unary_unary( + '/mapfixes.MapfixesService/List', + request_serializer=mapfixes__pb2.ListRequest.SerializeToString, + response_deserializer=mapfixes__pb2.MapfixList.FromString, + _registered_method=True) + + +class MapfixesServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def Get(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 GetList(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 List(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_MapfixesServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Get': grpc.unary_unary_rpc_method_handler( + servicer.Get, + request_deserializer=mapfixes__pb2.MapfixId.FromString, + response_serializer=mapfixes__pb2.MapfixResponse.SerializeToString, + ), + 'GetList': grpc.unary_unary_rpc_method_handler( + servicer.GetList, + request_deserializer=mapfixes__pb2.MapfixIdList.FromString, + response_serializer=mapfixes__pb2.MapfixList.SerializeToString, + ), + 'List': grpc.unary_unary_rpc_method_handler( + servicer.List, + request_deserializer=mapfixes__pb2.ListRequest.FromString, + response_serializer=mapfixes__pb2.MapfixList.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'mapfixes.MapfixesService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('mapfixes.MapfixesService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class MapfixesService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def Get(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, + '/mapfixes.MapfixesService/Get', + mapfixes__pb2.MapfixId.SerializeToString, + mapfixes__pb2.MapfixResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetList(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, + '/mapfixes.MapfixesService/GetList', + mapfixes__pb2.MapfixIdList.SerializeToString, + mapfixes__pb2.MapfixList.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def List(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, + '/mapfixes.MapfixesService/List', + mapfixes__pb2.ListRequest.SerializeToString, + mapfixes__pb2.MapfixList.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/strafesnet/submissions_pb2.py b/strafesnet/submissions_pb2.py new file mode 100644 index 0000000..b2be9b7 --- /dev/null +++ b/strafesnet/submissions_pb2.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: submissions.proto +# Protobuf Python Version: 6.31.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 31, + 1, + '', + 'submissions.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11submissions.proto\x12\x0bsubmissions\"\x1e\n\x10SubmissionIdList\x12\n\n\x02ID\x18\x01 \x03(\x03\"\x1a\n\x0cSubmissionId\x12\n\n\x02ID\x18\x01 \x01(\x03\"\xb9\x02\n\x12SubmissionResponse\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x13\n\x0b\x44isplayName\x18\x02 \x01(\t\x12\x0f\n\x07\x43reator\x18\x03 \x01(\t\x12\x0e\n\x06GameID\x18\x04 \x01(\r\x12\x11\n\tCreatedAt\x18\x07 \x01(\x03\x12\x11\n\tUpdatedAt\x18\x08 \x01(\x03\x12\x11\n\tSubmitter\x18\t \x01(\x04\x12\x0f\n\x07\x41ssetID\x18\n \x01(\x04\x12\x14\n\x0c\x41ssetVersion\x18\x0b \x01(\x04\x12\x18\n\x10ValidatedAssetID\x18\x0c \x01(\x04\x12\x1d\n\x15ValidatedAssetVersion\x18\r \x01(\x04\x12\x17\n\x0fUploadedAssetID\x18\x0e \x01(\x04\x12/\n\x08StatusID\x18\x0f \x01(\x0e\x32\x1d.submissions.SubmissionStatus\"\xe7\x01\n\x10SubmissionFilter\x12\x34\n\x08StatusID\x18\x01 \x01(\x0e\x32\x1d.submissions.SubmissionStatusH\x00\x88\x01\x01\x12\x18\n\x0b\x44isplayName\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x07\x43reator\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06GameID\x18\x04 \x01(\rH\x03\x88\x01\x01\x12\x16\n\tSubmitter\x18\x05 \x01(\x04H\x04\x88\x01\x01\x42\x0b\n\t_StatusIDB\x0e\n\x0c_DisplayNameB\n\n\x08_CreatorB\t\n\x07_GameIDB\x0c\n\n_Submitter\"F\n\x0eSubmissionList\x12\x34\n\x0bSubmissions\x18\x01 \x03(\x0b\x32\x1f.submissions.SubmissionResponse\"c\n\x0bListRequest\x12-\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x1d.submissions.SubmissionFilter\x12%\n\x04Page\x18\x02 \x01(\x0b\x32\x17.submissions.Pagination\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\r\x12\x0e\n\x06Number\x18\x02 \x01(\r\"\x0e\n\x0cNullResponse*\xff\x02\n\x10SubmissionStatus\x12%\n!SubmissionStatusUnderConstruction\x10\x00\x12$\n SubmissionStatusChangesRequested\x10\x01\x12\x1e\n\x1aSubmissionStatusSubmitting\x10\x02\x12\x1d\n\x19SubmissionStatusSubmitted\x10\x03\x12\'\n#SubmissionStatusAcceptedUnvalidated\x10\x04\x12\x1e\n\x1aSubmissionStatusValidating\x10\x05\x12\x1d\n\x19SubmissionStatusValidated\x10\x06\x12\x1d\n\x19SubmissionStatusUploading\x10\x07\x12\x1c\n\x18SubmissionStatusUploaded\x10\x08\x12\x1c\n\x18SubmissionStatusRejected\x10\t\x12\x1c\n\x18SubmissionStatusReleased\x10\n2\xdd\x01\n\x12SubmissionsService\x12\x41\n\x03Get\x12\x19.submissions.SubmissionId\x1a\x1f.submissions.SubmissionResponse\x12\x45\n\x07GetList\x12\x1d.submissions.SubmissionIdList\x1a\x1b.submissions.SubmissionList\x12=\n\x04List\x12\x18.submissions.ListRequest\x1a\x1b.submissions.SubmissionListB.Z,git.itzana.me/strafesnet/go-grpc/submissionsb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'submissions_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z,git.itzana.me/strafesnet/go-grpc/submissions' + _globals['_SUBMISSIONSTATUS']._serialized_start=878 + _globals['_SUBMISSIONSTATUS']._serialized_end=1261 + _globals['_SUBMISSIONIDLIST']._serialized_start=34 + _globals['_SUBMISSIONIDLIST']._serialized_end=64 + _globals['_SUBMISSIONID']._serialized_start=66 + _globals['_SUBMISSIONID']._serialized_end=92 + _globals['_SUBMISSIONRESPONSE']._serialized_start=95 + _globals['_SUBMISSIONRESPONSE']._serialized_end=408 + _globals['_SUBMISSIONFILTER']._serialized_start=411 + _globals['_SUBMISSIONFILTER']._serialized_end=642 + _globals['_SUBMISSIONLIST']._serialized_start=644 + _globals['_SUBMISSIONLIST']._serialized_end=714 + _globals['_LISTREQUEST']._serialized_start=716 + _globals['_LISTREQUEST']._serialized_end=815 + _globals['_PAGINATION']._serialized_start=817 + _globals['_PAGINATION']._serialized_end=859 + _globals['_NULLRESPONSE']._serialized_start=861 + _globals['_NULLRESPONSE']._serialized_end=875 + _globals['_SUBMISSIONSSERVICE']._serialized_start=1264 + _globals['_SUBMISSIONSSERVICE']._serialized_end=1485 +# @@protoc_insertion_point(module_scope) diff --git a/strafesnet/submissions_pb2_grpc.py b/strafesnet/submissions_pb2_grpc.py new file mode 100644 index 0000000..3e73884 --- /dev/null +++ b/strafesnet/submissions_pb2_grpc.py @@ -0,0 +1,183 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc +import warnings + +from . import submissions_pb2 as submissions__pb2 + +GRPC_GENERATED_VERSION = '1.74.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in submissions_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + + +class SubmissionsServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Get = channel.unary_unary( + '/submissions.SubmissionsService/Get', + request_serializer=submissions__pb2.SubmissionId.SerializeToString, + response_deserializer=submissions__pb2.SubmissionResponse.FromString, + _registered_method=True) + self.GetList = channel.unary_unary( + '/submissions.SubmissionsService/GetList', + request_serializer=submissions__pb2.SubmissionIdList.SerializeToString, + response_deserializer=submissions__pb2.SubmissionList.FromString, + _registered_method=True) + self.List = channel.unary_unary( + '/submissions.SubmissionsService/List', + request_serializer=submissions__pb2.ListRequest.SerializeToString, + response_deserializer=submissions__pb2.SubmissionList.FromString, + _registered_method=True) + + +class SubmissionsServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def Get(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 GetList(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 List(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_SubmissionsServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Get': grpc.unary_unary_rpc_method_handler( + servicer.Get, + request_deserializer=submissions__pb2.SubmissionId.FromString, + response_serializer=submissions__pb2.SubmissionResponse.SerializeToString, + ), + 'GetList': grpc.unary_unary_rpc_method_handler( + servicer.GetList, + request_deserializer=submissions__pb2.SubmissionIdList.FromString, + response_serializer=submissions__pb2.SubmissionList.SerializeToString, + ), + 'List': grpc.unary_unary_rpc_method_handler( + servicer.List, + request_deserializer=submissions__pb2.ListRequest.FromString, + response_serializer=submissions__pb2.SubmissionList.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'submissions.SubmissionsService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('submissions.SubmissionsService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class SubmissionsService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def Get(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, + '/submissions.SubmissionsService/Get', + submissions__pb2.SubmissionId.SerializeToString, + submissions__pb2.SubmissionResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetList(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, + '/submissions.SubmissionsService/GetList', + submissions__pb2.SubmissionIdList.SerializeToString, + submissions__pb2.SubmissionList.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def List(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, + '/submissions.SubmissionsService/List', + submissions__pb2.ListRequest.SerializeToString, + submissions__pb2.SubmissionList.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True)