55 lines
3.5 KiB
Python
55 lines
3.5 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: grpc_proto/check_grpc/check_grpc.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,
|
|
'',
|
|
'grpc_proto/check_grpc/check_grpc.proto'
|
|
)
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&grpc_proto/check_grpc/check_grpc.proto\x12\x04task\"%\n\x12HealthCheckRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\"\x9f\x01\n\x13HealthCheckResponse\x12\x37\n\x06status\x18\x01 \x01(\x0e\x32\'.task.HealthCheckResponse.ServingStatus\"O\n\rServingStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07SERVING\x10\x01\x12\x0f\n\x0bNOT_SERVING\x10\x02\x12\x13\n\x0fSERVICE_UNKNOWN\x10\x03\"S\n\x0bTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\n\n\x02sn\x18\x02 \x01(\t\x12\'\n\x0c\x63ontent_body\x18\x03 \x01(\x0b\x32\x11.task.ContentBody\"\xab\x01\n\x0b\x43ontentBody\x12\x10\n\x08org_code\x18\x01 \x01(\t\x12\x0f\n\x07\x66unc_id\x18\x02 \x03(\x05\x12\x12\n\nsource_url\x18\x03 \x01(\t\x12\x10\n\x08push_url\x18\x04 \x01(\t\x12\x12\n\nconfidence\x18\x05 \x01(\x02\x12!\n\tpara_list\x18\x06 \x03(\x0b\x32\x0e.task.ParaList\x12\x1c\n\x06invade\x18\x07 \x01(\x0b\x32\x0c.task.Invade\"7\n\x08ParaList\x12\x0f\n\x07\x66unc_id\x18\x01 \x01(\x05\x12\x1a\n\x12para_invade_enable\x18\x02 \x01(\x08\"6\n\x06Invade\x12\x13\n\x0binvade_file\x18\x01 \x01(\t\x12\x17\n\x0f\x63\x61mera_para_url\x18\x02 \x01(\t\"A\n\x0cTaskResponse\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x0f\n\x07message\x18\x03 \x01(\t2C\n\x0bTaskService\x12\x34\n\x0bProcessTask\x12\x11.task.TaskRequest\x1a\x12.task.TaskResponse2K\n\x0bHealthCheck\x12<\n\x05\x43heck\x12\x18.task.HealthCheckRequest\x1a\x19.task.HealthCheckResponseb\x06proto3')
|
|
|
|
_globals = globals()
|
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'grpc_proto.check_grpc.check_grpc_pb2', _globals)
|
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
DESCRIPTOR._loaded_options = None
|
|
_globals['_HEALTHCHECKREQUEST']._serialized_start=48
|
|
_globals['_HEALTHCHECKREQUEST']._serialized_end=85
|
|
_globals['_HEALTHCHECKRESPONSE']._serialized_start=88
|
|
_globals['_HEALTHCHECKRESPONSE']._serialized_end=247
|
|
_globals['_HEALTHCHECKRESPONSE_SERVINGSTATUS']._serialized_start=168
|
|
_globals['_HEALTHCHECKRESPONSE_SERVINGSTATUS']._serialized_end=247
|
|
_globals['_TASKREQUEST']._serialized_start=249
|
|
_globals['_TASKREQUEST']._serialized_end=332
|
|
_globals['_CONTENTBODY']._serialized_start=335
|
|
_globals['_CONTENTBODY']._serialized_end=506
|
|
_globals['_PARALIST']._serialized_start=508
|
|
_globals['_PARALIST']._serialized_end=563
|
|
_globals['_INVADE']._serialized_start=565
|
|
_globals['_INVADE']._serialized_end=619
|
|
_globals['_TASKRESPONSE']._serialized_start=621
|
|
_globals['_TASKRESPONSE']._serialized_end=686
|
|
_globals['_TASKSERVICE']._serialized_start=688
|
|
_globals['_TASKSERVICE']._serialized_end=755
|
|
_globals['_HEALTHCHECK']._serialized_start=757
|
|
_globals['_HEALTHCHECK']._serialized_end=832
|
|
# @@protoc_insertion_point(module_scope)
|