Autogenerated update for 63ad706dd9...0773cba6c7

This commit is contained in:
2025-09-22 00:35:27 +00:00
parent cf18ebce73
commit de473c4a3d
2 changed files with 10 additions and 10 deletions

View File

@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12\x62ot_analyzer.proto\x12\x0c\x62ot_analyzer\"\x18\n\x06\x46ileID\x12\x0e\n\x06\x46ileID\x18\x01 \x01(\t\"$\n\x10\x41nalysisResponse\x12\x10\n\x08\x41nalysis\x18\x01 \x01(\t2N\n\x0b\x42otAnalyzer\x12?\n\x07\x41nalyze\x12\x14.bot_analyzer.FileID\x1a\x1e.bot_analyzer.AnalysisResponseB/Z-git.itzana.me/strafesnet/go-grpc/bot_analyzerb\x06proto3')
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12\x62ot_analyzer.proto\x12\x0c\x62ot_analyzer\"\x1a\n\x0b\x44ownloadUrl\x12\x0b\n\x03Url\x18\x01 \x01(\t\"$\n\x10\x41nalysisResponse\x12\x10\n\x08\x41nalysis\x18\x01 \x01(\t2S\n\x0b\x42otAnalyzer\x12\x44\n\x07\x41nalyze\x12\x19.bot_analyzer.DownloadUrl\x1a\x1e.bot_analyzer.AnalysisResponseB/Z-git.itzana.me/strafesnet/go-grpc/bot_analyzerb\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -32,10 +32,10 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'bot_analyzer_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/bot_analyzer'
_globals['_FILEID']._serialized_start=36
_globals['_FILEID']._serialized_end=60
_globals['_ANALYSISRESPONSE']._serialized_start=62
_globals['_ANALYSISRESPONSE']._serialized_end=98
_globals['_BOTANALYZER']._serialized_start=100
_globals['_BOTANALYZER']._serialized_end=178
_globals['_DOWNLOADURL']._serialized_start=36
_globals['_DOWNLOADURL']._serialized_end=62
_globals['_ANALYSISRESPONSE']._serialized_start=64
_globals['_ANALYSISRESPONSE']._serialized_end=100
_globals['_BOTANALYZER']._serialized_start=102
_globals['_BOTANALYZER']._serialized_end=185
# @@protoc_insertion_point(module_scope)

View File

@@ -36,7 +36,7 @@ class BotAnalyzerStub(object):
"""
self.Analyze = channel.unary_unary(
'/bot_analyzer.BotAnalyzer/Analyze',
request_serializer=bot__analyzer__pb2.FileID.SerializeToString,
request_serializer=bot__analyzer__pb2.DownloadUrl.SerializeToString,
response_deserializer=bot__analyzer__pb2.AnalysisResponse.FromString,
_registered_method=True)
@@ -55,7 +55,7 @@ def add_BotAnalyzerServicer_to_server(servicer, server):
rpc_method_handlers = {
'Analyze': grpc.unary_unary_rpc_method_handler(
servicer.Analyze,
request_deserializer=bot__analyzer__pb2.FileID.FromString,
request_deserializer=bot__analyzer__pb2.DownloadUrl.FromString,
response_serializer=bot__analyzer__pb2.AnalysisResponse.SerializeToString,
),
}
@@ -84,7 +84,7 @@ class BotAnalyzer(object):
request,
target,
'/bot_analyzer.BotAnalyzer/Analyze',
bot__analyzer__pb2.FileID.SerializeToString,
bot__analyzer__pb2.DownloadUrl.SerializeToString,
bot__analyzer__pb2.AnalysisResponse.FromString,
options,
channel_credentials,