# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: agent.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
    b'\n\x0b\x61gent.proto"\x1a\n\x0bPingRequest\x12\x0b\n\x03msg\x18\x01 \x01(\t"\x1b\n\x0cPongResponse\x12\x0b\n\x03msg\x18\x01 \x01(\t"\x84\x01\n\x10HeartBeatRequest\x12\x0b\n\x03msg\x18\x01 \x01(\t\x12\x32\n\tbase_info\x18\x02 \x03(\x0b\x32\x1f.HeartBeatRequest.BaseInfoEntry\x1a/\n\rBaseInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xb1\x01\n\x0eGetTaskRequest\x12\x0b\n\x03msg\x18\x01 \x01(\t\x12\x10\n\x08msg_type\x18\x02 \x01(\t\x12\x13\n\x0bworker_name\x18\x03 \x01(\t\x12\x37\n\rget_task_info\x18\x04 \x03(\x0b\x32 .GetTaskRequest.GetTaskInfoEntry\x1a\x32\n\x10GetTaskInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xb3\x01\n\x0fGetTaskResponse\x12\x0b\n\x03msg\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\x03\x12\x10\n\x08msg_type\x18\x03 \x01(\t\x12\x0f\n\x07task_id\x18\x04 \x01(\t\x12\x31\n\ttask_info\x18\x05 \x03(\x0b\x32\x1e.GetTaskResponse.TaskInfoEntry\x1a/\n\rTaskInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xaf\x01\n\x11TaskResultRequest\x12\x0b\n\x03msg\x18\x01 \x01(\t\x12\x10\n\x08msg_type\x18\x02 \x01(\t\x12\x0f\n\x07task_id\x18\x03 \x01(\t\x12\x37\n\x0btask_result\x18\x04 \x03(\x0b\x32".TaskResultRequest.TaskResultEntry\x1a\x31\n\x0fTaskResultEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"-\n\x10\x43urrencyResponse\x12\x0b\n\x03msg\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\x03\x32\xd0\x01\n\x0c\x41gentService\x12%\n\x04Ping\x12\x0c.PingRequest\x1a\r.PongResponse"\x00\x12\x33\n\tHeartBeat\x12\x11.HeartBeatRequest\x1a\x11.CurrencyResponse"\x00\x12-\n\x04Task\x12\x0f.GetTaskRequest\x1a\x10.GetTaskResponse"\x00\x30\x01\x12\x35\n\nTaskResult\x12\x12.TaskResultRequest\x1a\x11.CurrencyResponse"\x00\x62\x06proto3'
)


_PINGREQUEST = DESCRIPTOR.message_types_by_name["PingRequest"]
_PONGRESPONSE = DESCRIPTOR.message_types_by_name["PongResponse"]
_HEARTBEATREQUEST = DESCRIPTOR.message_types_by_name["HeartBeatRequest"]
_HEARTBEATREQUEST_BASEINFOENTRY = _HEARTBEATREQUEST.nested_types_by_name[
    "BaseInfoEntry"
]
_GETTASKREQUEST = DESCRIPTOR.message_types_by_name["GetTaskRequest"]
_GETTASKREQUEST_GETTASKINFOENTRY = _GETTASKREQUEST.nested_types_by_name[
    "GetTaskInfoEntry"
]
_GETTASKRESPONSE = DESCRIPTOR.message_types_by_name["GetTaskResponse"]
_GETTASKRESPONSE_TASKINFOENTRY = _GETTASKRESPONSE.nested_types_by_name["TaskInfoEntry"]
_TASKRESULTREQUEST = DESCRIPTOR.message_types_by_name["TaskResultRequest"]
_TASKRESULTREQUEST_TASKRESULTENTRY = _TASKRESULTREQUEST.nested_types_by_name[
    "TaskResultEntry"
]
_CURRENCYRESPONSE = DESCRIPTOR.message_types_by_name["CurrencyResponse"]
PingRequest = _reflection.GeneratedProtocolMessageType(
    "PingRequest",
    (_message.Message,),
    {
        "DESCRIPTOR": _PINGREQUEST,
        "__module__": "agent_pb2"
        # @@protoc_insertion_point(class_scope:PingRequest)
    },
)
_sym_db.RegisterMessage(PingRequest)

PongResponse = _reflection.GeneratedProtocolMessageType(
    "PongResponse",
    (_message.Message,),
    {
        "DESCRIPTOR": _PONGRESPONSE,
        "__module__": "agent_pb2"
        # @@protoc_insertion_point(class_scope:PongResponse)
    },
)
_sym_db.RegisterMessage(PongResponse)

HeartBeatRequest = _reflection.GeneratedProtocolMessageType(
    "HeartBeatRequest",
    (_message.Message,),
    {
        "BaseInfoEntry": _reflection.GeneratedProtocolMessageType(
            "BaseInfoEntry",
            (_message.Message,),
            {
                "DESCRIPTOR": _HEARTBEATREQUEST_BASEINFOENTRY,
                "__module__": "agent_pb2"
                # @@protoc_insertion_point(class_scope:HeartBeatRequest.BaseInfoEntry)
            },
        ),
        "DESCRIPTOR": _HEARTBEATREQUEST,
        "__module__": "agent_pb2"
        # @@protoc_insertion_point(class_scope:HeartBeatRequest)
    },
)
_sym_db.RegisterMessage(HeartBeatRequest)
_sym_db.RegisterMessage(HeartBeatRequest.BaseInfoEntry)

GetTaskRequest = _reflection.GeneratedProtocolMessageType(
    "GetTaskRequest",
    (_message.Message,),
    {
        "GetTaskInfoEntry": _reflection.GeneratedProtocolMessageType(
            "GetTaskInfoEntry",
            (_message.Message,),
            {
                "DESCRIPTOR": _GETTASKREQUEST_GETTASKINFOENTRY,
                "__module__": "agent_pb2"
                # @@protoc_insertion_point(class_scope:GetTaskRequest.GetTaskInfoEntry)
            },
        ),
        "DESCRIPTOR": _GETTASKREQUEST,
        "__module__": "agent_pb2"
        # @@protoc_insertion_point(class_scope:GetTaskRequest)
    },
)
_sym_db.RegisterMessage(GetTaskRequest)
_sym_db.RegisterMessage(GetTaskRequest.GetTaskInfoEntry)

GetTaskResponse = _reflection.GeneratedProtocolMessageType(
    "GetTaskResponse",
    (_message.Message,),
    {
        "TaskInfoEntry": _reflection.GeneratedProtocolMessageType(
            "TaskInfoEntry",
            (_message.Message,),
            {
                "DESCRIPTOR": _GETTASKRESPONSE_TASKINFOENTRY,
                "__module__": "agent_pb2"
                # @@protoc_insertion_point(class_scope:GetTaskResponse.TaskInfoEntry)
            },
        ),
        "DESCRIPTOR": _GETTASKRESPONSE,
        "__module__": "agent_pb2"
        # @@protoc_insertion_point(class_scope:GetTaskResponse)
    },
)
_sym_db.RegisterMessage(GetTaskResponse)
_sym_db.RegisterMessage(GetTaskResponse.TaskInfoEntry)

TaskResultRequest = _reflection.GeneratedProtocolMessageType(
    "TaskResultRequest",
    (_message.Message,),
    {
        "TaskResultEntry": _reflection.GeneratedProtocolMessageType(
            "TaskResultEntry",
            (_message.Message,),
            {
                "DESCRIPTOR": _TASKRESULTREQUEST_TASKRESULTENTRY,
                "__module__": "agent_pb2"
                # @@protoc_insertion_point(class_scope:TaskResultRequest.TaskResultEntry)
            },
        ),
        "DESCRIPTOR": _TASKRESULTREQUEST,
        "__module__": "agent_pb2"
        # @@protoc_insertion_point(class_scope:TaskResultRequest)
    },
)
_sym_db.RegisterMessage(TaskResultRequest)
_sym_db.RegisterMessage(TaskResultRequest.TaskResultEntry)

CurrencyResponse = _reflection.GeneratedProtocolMessageType(
    "CurrencyResponse",
    (_message.Message,),
    {
        "DESCRIPTOR": _CURRENCYRESPONSE,
        "__module__": "agent_pb2"
        # @@protoc_insertion_point(class_scope:CurrencyResponse)
    },
)
_sym_db.RegisterMessage(CurrencyResponse)

_AGENTSERVICE = DESCRIPTOR.services_by_name["AgentService"]
if _descriptor._USE_C_DESCRIPTORS == False:

    DESCRIPTOR._options = None
    _HEARTBEATREQUEST_BASEINFOENTRY._options = None
    _HEARTBEATREQUEST_BASEINFOENTRY._serialized_options = b"8\001"
    _GETTASKREQUEST_GETTASKINFOENTRY._options = None
    _GETTASKREQUEST_GETTASKINFOENTRY._serialized_options = b"8\001"
    _GETTASKRESPONSE_TASKINFOENTRY._options = None
    _GETTASKRESPONSE_TASKINFOENTRY._serialized_options = b"8\001"
    _TASKRESULTREQUEST_TASKRESULTENTRY._options = None
    _TASKRESULTREQUEST_TASKRESULTENTRY._serialized_options = b"8\001"
    _PINGREQUEST._serialized_start = 15
    _PINGREQUEST._serialized_end = 41
    _PONGRESPONSE._serialized_start = 43
    _PONGRESPONSE._serialized_end = 70
    _HEARTBEATREQUEST._serialized_start = 73
    _HEARTBEATREQUEST._serialized_end = 205
    _HEARTBEATREQUEST_BASEINFOENTRY._serialized_start = 158
    _HEARTBEATREQUEST_BASEINFOENTRY._serialized_end = 205
    _GETTASKREQUEST._serialized_start = 208
    _GETTASKREQUEST._serialized_end = 385
    _GETTASKREQUEST_GETTASKINFOENTRY._serialized_start = 335
    _GETTASKREQUEST_GETTASKINFOENTRY._serialized_end = 385
    _GETTASKRESPONSE._serialized_start = 388
    _GETTASKRESPONSE._serialized_end = 567
    _GETTASKRESPONSE_TASKINFOENTRY._serialized_start = 520
    _GETTASKRESPONSE_TASKINFOENTRY._serialized_end = 567
    _TASKRESULTREQUEST._serialized_start = 570
    _TASKRESULTREQUEST._serialized_end = 745
    _TASKRESULTREQUEST_TASKRESULTENTRY._serialized_start = 696
    _TASKRESULTREQUEST_TASKRESULTENTRY._serialized_end = 745
    _CURRENCYRESPONSE._serialized_start = 747
    _CURRENCYRESPONSE._serialized_end = 792
    _AGENTSERVICE._serialized_start = 795
    _AGENTSERVICE._serialized_end = 1003
# @@protoc_insertion_point(module_scope)
