2023-12-27 19:48:51 +05:30
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
|
# source: dcache.proto
|
|
|
|
# Protobuf Python Version: 4.25.0
|
|
|
|
"""Generated protocol buffer code."""
|
|
|
|
from google.protobuf import descriptor as _descriptor
|
|
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
|
|
from google.protobuf import symbol_database as _symbol_database
|
|
|
|
from google.protobuf.internal import builder as _builder
|
|
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-12-29 15:58:36 +05:30
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x64\x63\x61\x63he.proto\x12\x06\x64\x63\x61\x63he\"?\n\x05Level\x12\x1a\n\x11visitor_threshold\x18\xad\x02 \x01(\r\x12\x1a\n\x11\x64ifficulty_factor\x18\xae\x02 \x01(\r\")\n\x07\x44\x65\x66\x65nse\x12\x1e\n\x06levels\x18\x91\x03 \x03(\x0b\x32\r.dcache.Level\"@\n\x08MCaptcha\x12\x11\n\x08\x64uration\x18\xf6\x03 \x01(\x04\x12!\n\x07\x64\x65\x66\x65nse\x18\xf7\x03 \x01(\x0b\x32\x0f.dcache.Defense\"E\n\x11\x41\x64\x64\x43\x61ptchaRequest\x12\x0b\n\x02id\x18\xd9\x04 \x01(\t\x12#\n\x08mcaptcha\x18\xda\x04 \x01(\x0b\x32\x10.dcache.MCaptcha\"9\n\x14RenameCaptchaRequest\x12\r\n\x04name\x18\xbd\x05 \x01(\t\x12\x12\n\trename_to\x18\xbe\x05 \x01(\t\"_\n\x0f\x43\x61\x63hePowRequest\x12\x0f\n\x06string\x18\xa1\x06 \x01(\t\x12\x1a\n\x11\x64ifficulty_factor\x18\xa2\x06 \x01(\r\x12\x11\n\x08\x64uration\x18\xa3\x06 \x01(\x04\x12\x0c\n\x03key\x18\xa4\x06 \x01(\t\"E\n\x12\x43\x61\x63heResultRequest\x12\x0e\n\x05token\x18\xb1\x06 \x01(\t\x12\x0c\n\x03key\x18\xb2\x06 \x01(\t\x12\x11\n\x08\x64uration\x18\xb3\x06 \x01(\x04\",\n\x1a\x44\x65leteCaptchaResultRequest\x12\x0e\n\x05token\x18\xb5\x06 \x01(\t\"\x17\n\tCaptchaID\x12\n\n\x02id\x18\x01 \x01(\t\"\x12\n\x04PoID\x12\n\n\x02id\x18\x01 \x01(\t\"A\n\x10\x41\x64\x64VisitorResult\x12\x11\n\x08\x64uration\x18\x85\x07 \x01(\x04\x12\x1a\n\x11\x64ifficulty_factor\x18\x86\x07 \x01(\r\"S\n\x16OptionAddVisitorResult\x12.\n\x06result\x18\x8f\x07 \x01(\x0b\x32\x18.dcache.AddVisitorResultH\x00\x88\x01\x01\x42\t\n\x07_result\"\x1b\n\x0bRaftRequest\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\t\"(\n\tRaftReply\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"#\n\x07Learner\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0c\n\x04\x61\x64\x64r\x18\x02 \x01(\t\"\xbd\x02\n\rDcacheRequest\x12/\n\naddCaptcha\x18\x01 \x01(\x0b\x32\x19.dcache.AddCaptchaRequestH\x00\x12\'\n\naddVisitor\x18\x02 \x01(\x0b\x32\x11.dcache.CaptchaIDH\x00\x12\x35\n\rrenameCaptcha\x18\x03 \x01(\x0b\x32\x1c.dcache.RenameCaptchaRequestH\x00\x12*\n\rremoveCaptcha\x18\x04 \x01(\x0b\x32\x11.dcache.CaptchaIDH\x00\x12+\n\x08\x63\x61\x63hePow\x18\x05 \x01(\x0b\x32\x17.dcache.CachePowRequestH\x00\x12\x31\n\x0b\x63\x61\x63heResult\x18\x06 \x01(\x0b\x32\x1a.dcache.CacheResultRequestH\x00\x42\x0f\n\rDcacheRequest\"\x8b\x01\n\x0e\x44\x63\x61\x63heResponse\x12\x43\n\x19option_add_visitor_result\x18\x01 \x01(\x0b\x32\x1e.dcache.OptionAddVisitorResultH\x00\x12\"\n\x05other\x18\x02 \x01(\x0b\x32\x11.dcache.RaftReplyH\x00\x42\x10\n\x0e\x44\x63\x61\x63heResponse\"=\n\x12\x44\x63\x61\x63heBatchRequest\x12\'\n\x08requests\x18\x01 \x03(\x0b\x32\x15.dcache.DcacheRequest\"@\n\x13\x44\x63\x61\x63heBatchResponse\x12)\n\tresponses\x18\x01 \x03(\x0b\x32\x16.dcache.DcacheResponse2\x97\x06\n\rDcacheService\x12<\n\nAddCaptcha\x12\x19.dcache.AddCaptchaRequest\x1a\x11.dcache.RaftReply\"\x00\x12\x41\n\nAddVisitor\x12\x11.dcache.CaptchaID\x1a\x1e.dcache.OptionAddVisitorResult\"\x00\x12\x42\n\rRenameCaptcha\x12\x1c.dcache.RenameCaptchaRequest\x1a\x11.dcache.RaftReply\"\x00\x12\x37\n\rRemoveCaptcha\x12\x11.dcache.CaptchaID\x1a\x11.dcache.RaftReply\"\x00\x12\x38\n\x08\x43\x61\x63hePow\x12\x17.dcache.CachePowRequest\x1a\x11.dcache.RaftReply\"\x00\x12>\n\x0b\x43\x61\x63heResult\x12\x1a.dcache.CacheResultRequest\x1a\x11.dcache.RaftReply\"\x00\x12N\n\x11PipelineDcacheOps\x12\x1a.dcache.DcacheBatchRequest\x1a\x1b.dcache.DcacheBatchResponse\"\x00\x12\x32\n\nAddLearner\x12\x0f.dcache.Learner\x1a\x11.dcache.RaftReply\"\x00\x12\x31\n\x05Write\x12\x13.dcache.RaftRequest\x1a\x11.dcache.RaftReply\"\x00\x12\x33\n\x07\x46orward\x12\x13.dcache.RaftRequest\x1a\x11.dcache.RaftReply\"\x00\x12\x37\n\rAppendEntries\x12\x13.dcache.RaftRequest\x1a\x11.dcache.RaftReply\x12\x39\n\x0fInstallSnapshot\x12\x13.dcache.RaftRequest\x1a\x11.dcache.RaftReply\x12.\n\x04vote\x12\x13.dcache.RaftRequest\x1a\x11.dcache.RaftReplyb\x06proto3')
|
2023-12-27 19:48:51 +05:30
|
|
|
|
|
|
|
_globals = globals()
|
|
|
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
|
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'dcache_pb2', _globals)
|
|
|
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
|
DESCRIPTOR._options = None
|
|
|
|
_globals['_LEVEL']._serialized_start=24
|
|
|
|
_globals['_LEVEL']._serialized_end=87
|
|
|
|
_globals['_DEFENSE']._serialized_start=89
|
|
|
|
_globals['_DEFENSE']._serialized_end=130
|
|
|
|
_globals['_MCAPTCHA']._serialized_start=132
|
2023-12-27 22:57:14 +05:30
|
|
|
_globals['_MCAPTCHA']._serialized_end=196
|
|
|
|
_globals['_ADDCAPTCHAREQUEST']._serialized_start=198
|
|
|
|
_globals['_ADDCAPTCHAREQUEST']._serialized_end=267
|
|
|
|
_globals['_RENAMECAPTCHAREQUEST']._serialized_start=269
|
|
|
|
_globals['_RENAMECAPTCHAREQUEST']._serialized_end=326
|
|
|
|
_globals['_CACHEPOWREQUEST']._serialized_start=328
|
|
|
|
_globals['_CACHEPOWREQUEST']._serialized_end=423
|
|
|
|
_globals['_CACHERESULTREQUEST']._serialized_start=425
|
|
|
|
_globals['_CACHERESULTREQUEST']._serialized_end=494
|
|
|
|
_globals['_DELETECAPTCHARESULTREQUEST']._serialized_start=496
|
|
|
|
_globals['_DELETECAPTCHARESULTREQUEST']._serialized_end=540
|
|
|
|
_globals['_CAPTCHAID']._serialized_start=542
|
|
|
|
_globals['_CAPTCHAID']._serialized_end=565
|
|
|
|
_globals['_POID']._serialized_start=567
|
|
|
|
_globals['_POID']._serialized_end=585
|
|
|
|
_globals['_ADDVISITORRESULT']._serialized_start=587
|
|
|
|
_globals['_ADDVISITORRESULT']._serialized_end=652
|
|
|
|
_globals['_OPTIONADDVISITORRESULT']._serialized_start=654
|
|
|
|
_globals['_OPTIONADDVISITORRESULT']._serialized_end=737
|
|
|
|
_globals['_RAFTREQUEST']._serialized_start=739
|
|
|
|
_globals['_RAFTREQUEST']._serialized_end=766
|
|
|
|
_globals['_RAFTREPLY']._serialized_start=768
|
|
|
|
_globals['_RAFTREPLY']._serialized_end=808
|
|
|
|
_globals['_LEARNER']._serialized_start=810
|
|
|
|
_globals['_LEARNER']._serialized_end=845
|
2023-12-28 19:15:07 +05:30
|
|
|
_globals['_DCACHEREQUEST']._serialized_start=848
|
|
|
|
_globals['_DCACHEREQUEST']._serialized_end=1165
|
|
|
|
_globals['_DCACHERESPONSE']._serialized_start=1168
|
|
|
|
_globals['_DCACHERESPONSE']._serialized_end=1307
|
2023-12-29 15:58:36 +05:30
|
|
|
_globals['_DCACHEBATCHREQUEST']._serialized_start=1309
|
|
|
|
_globals['_DCACHEBATCHREQUEST']._serialized_end=1370
|
|
|
|
_globals['_DCACHEBATCHRESPONSE']._serialized_start=1372
|
|
|
|
_globals['_DCACHEBATCHRESPONSE']._serialized_end=1436
|
|
|
|
_globals['_DCACHESERVICE']._serialized_start=1439
|
|
|
|
_globals['_DCACHESERVICE']._serialized_end=2230
|
2023-12-27 19:48:51 +05:30
|
|
|
# @@protoc_insertion_point(module_scope)
|