# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: mpc.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
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
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\tmpc.proto\x12\x07meesign\"\x13\n\x11ServerInfoRequest\"\x1d\n\nServerInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\"7\n\x13RegistrationRequest\x12\x12\n\nidentifier\x18\x01 \x01(\x0c\x12\x0c\n\x04name\x18\x02 \x01(\t\"\x90\x01\n\x0cGroupRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ndevice_ids\x18\x02 \x03(\x0c\x12\x11\n\tthreshold\x18\x03 \x01(\r\x12\'\n\x08protocol\x18\x04 \x01(\x0e\x32\x15.meesign.ProtocolType\x12\"\n\x08key_type\x18\x05 \x01(\x0e\x32\x10.meesign.KeyType\"\x9d\x01\n\x05Group\x12\x12\n\nidentifier\x18\x01 \x01(\x0c\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tthreshold\x18\x03 \x01(\r\x12\'\n\x08protocol\x18\x04 \x01(\x0e\x32\x15.meesign.ProtocolType\x12\"\n\x08key_type\x18\x05 \x01(\x0e\x32\x10.meesign.KeyType\x12\x12\n\ndevice_ids\x18\x06 \x03(\x0c\"\x10\n\x0e\x44\x65vicesRequest\"+\n\x07\x44\x65vices\x12 \n\x07\x64\x65vices\x18\x01 \x03(\x0b\x32\x0f.meesign.Device\"?\n\x06\x44\x65vice\x12\x12\n\nidentifier\x18\x01 \x01(\x0c\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0blast_active\x18\x03 \x01(\x04\";\n\x0bSignRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08group_id\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"D\n\x0bTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x0c\x12\x16\n\tdevice_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0c\n\n_device_id\"\x9a\x02\n\x04Task\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x1f\n\x04type\x18\x02 \x01(\x0e\x32\x11.meesign.TaskType\x12&\n\x05state\x18\x03 \x01(\x0e\x32\x17.meesign.Task.TaskState\x12\r\n\x05round\x18\x04 \x01(\r\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\r\x12\x0e\n\x06\x61\x63\x63\x65pt\x18\x06 \x01(\r\x12\x0e\n\x06reject\x18\x07 \x01(\r\x12\x11\n\x04\x64\x61ta\x18\x08 \x01(\x0cH\x00\x88\x01\x01\x12\x14\n\x07request\x18\t \x01(\x0cH\x01\x88\x01\x01\"?\n\tTaskState\x12\x0b\n\x07\x43REATED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\x0c\n\x08\x46INISHED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x42\x07\n\x05_dataB\n\n\x08_request\"L\n\nTaskUpdate\x12\x11\n\tdevice_id\x18\x01 \x01(\x0c\x12\x0c\n\x04task\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\r\"4\n\x0cTasksRequest\x12\x16\n\tdevice_id\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x0c\n\n_device_id\"%\n\x05Tasks\x12\x1c\n\x05tasks\x18\x01 \x03(\x0b\x32\r.meesign.Task\"5\n\rGroupsRequest\x12\x16\n\tdevice_id\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x0c\n\n_device_id\"(\n\x06Groups\x12\x1e\n\x06groups\x18\x01 \x03(\x0b\x32\x0e.meesign.Group\"\x17\n\x04Resp\x12\x0f\n\x07message\x18\x01 \x01(\t\"<\n\x0cTaskDecision\x12\x0c\n\x04task\x18\x01 \x01(\x0c\x12\x0e\n\x06\x64\x65vice\x18\x02 \x01(\x0c\x12\x0e\n\x06\x61\x63\x63\x65pt\x18\x03 \x01(\x08\"9\n\x13TaskAcknowledgement\x12\x0f\n\x07task_id\x18\x01 \x01(\x0c\x12\x11\n\tdevice_id\x18\x02 \x01(\x0c\"C\n\nLogRequest\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x16\n\tdevice_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0c\n\n_device_id\"%\n\x10SubscribeRequest\x12\x11\n\tdevice_id\x18\x01 \x01(\x0c\"C\n\x0eGG18KeyGenInit\x12\r\n\x05index\x18\x01 \x01(\r\x12\x0f\n\x07parties\x18\x02 \x01(\r\x12\x11\n\tthreshold\x18\x03 \x01(\r\"<\n\x0cGG18SignInit\x12\x0f\n\x07indices\x18\x01 \x03(\r\x12\r\n\x05index\x18\x02 \x01(\r\x12\x0c\n\x04hash\x18\x03 \x01(\x0c\"\x1e\n\x0bGG18Message\x12\x0f\n\x07message\x18\x01 \x03(\x0c*\x18\n\x0cProtocolType\x12\x08\n\x04GG18\x10\x00*)\n\x07KeyType\x12\x0b\n\x07SignPDF\x10\x00\x12\x11\n\rSignChallenge\x10\x01*7\n\x08TaskType\x12\t\n\x05GROUP\x10\x00\x12\x0c\n\x08SIGN_PDF\x10\x01\x12\x12\n\x0eSIGN_CHALLENGE\x10\x02\x32\xbf\x05\n\x03MPC\x12@\n\rGetServerInfo\x12\x1a.meesign.ServerInfoRequest\x1a\x13.meesign.ServerInfo\x12\x37\n\x08Register\x12\x1c.meesign.RegistrationRequest\x1a\r.meesign.Resp\x12+\n\x04Sign\x12\x14.meesign.SignRequest\x1a\r.meesign.Task\x12-\n\x05Group\x12\x15.meesign.GroupRequest\x1a\r.meesign.Task\x12.\n\x07GetTask\x12\x14.meesign.TaskRequest\x1a\r.meesign.Task\x12\x30\n\nUpdateTask\x12\x13.meesign.TaskUpdate\x1a\r.meesign.Resp\x12\x32\n\nDecideTask\x12\x15.meesign.TaskDecision\x1a\r.meesign.Resp\x12>\n\x0f\x41\x63knowledgeTask\x12\x1c.meesign.TaskAcknowledgement\x1a\r.meesign.Resp\x12\x31\n\x08GetTasks\x12\x15.meesign.TasksRequest\x1a\x0e.meesign.Tasks\x12\x34\n\tGetGroups\x12\x16.meesign.GroupsRequest\x1a\x0f.meesign.Groups\x12\x37\n\nGetDevices\x12\x17.meesign.DevicesRequest\x1a\x10.meesign.Devices\x12)\n\x03Log\x12\x13.meesign.LogRequest\x1a\r.meesign.Resp\x12>\n\x10SubscribeUpdates\x12\x19.meesign.SubscribeRequest\x1a\r.meesign.Task0\x01\x62\x06proto3')

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mpc_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _PROTOCOLTYPE._serialized_start=1667
  _PROTOCOLTYPE._serialized_end=1691
  _KEYTYPE._serialized_start=1693
  _KEYTYPE._serialized_end=1734
  _TASKTYPE._serialized_start=1736
  _TASKTYPE._serialized_end=1791
  _SERVERINFOREQUEST._serialized_start=22
  _SERVERINFOREQUEST._serialized_end=41
  _SERVERINFO._serialized_start=43
  _SERVERINFO._serialized_end=72
  _REGISTRATIONREQUEST._serialized_start=74
  _REGISTRATIONREQUEST._serialized_end=129
  _GROUPREQUEST._serialized_start=132
  _GROUPREQUEST._serialized_end=276
  _GROUP._serialized_start=279
  _GROUP._serialized_end=436
  _DEVICESREQUEST._serialized_start=438
  _DEVICESREQUEST._serialized_end=454
  _DEVICES._serialized_start=456
  _DEVICES._serialized_end=499
  _DEVICE._serialized_start=501
  _DEVICE._serialized_end=564
  _SIGNREQUEST._serialized_start=566
  _SIGNREQUEST._serialized_end=625
  _TASKREQUEST._serialized_start=627
  _TASKREQUEST._serialized_end=695
  _TASK._serialized_start=698
  _TASK._serialized_end=980
  _TASK_TASKSTATE._serialized_start=896
  _TASK_TASKSTATE._serialized_end=959
  _TASKUPDATE._serialized_start=982
  _TASKUPDATE._serialized_end=1058
  _TASKSREQUEST._serialized_start=1060
  _TASKSREQUEST._serialized_end=1112
  _TASKS._serialized_start=1114
  _TASKS._serialized_end=1151
  _GROUPSREQUEST._serialized_start=1153
  _GROUPSREQUEST._serialized_end=1206
  _GROUPS._serialized_start=1208
  _GROUPS._serialized_end=1248
  _RESP._serialized_start=1250
  _RESP._serialized_end=1273
  _TASKDECISION._serialized_start=1275
  _TASKDECISION._serialized_end=1335
  _TASKACKNOWLEDGEMENT._serialized_start=1337
  _TASKACKNOWLEDGEMENT._serialized_end=1394
  _LOGREQUEST._serialized_start=1396
  _LOGREQUEST._serialized_end=1463
  _SUBSCRIBEREQUEST._serialized_start=1465
  _SUBSCRIBEREQUEST._serialized_end=1502
  _GG18KEYGENINIT._serialized_start=1504
  _GG18KEYGENINIT._serialized_end=1571
  _GG18SIGNINIT._serialized_start=1573
  _GG18SIGNINIT._serialized_end=1633
  _GG18MESSAGE._serialized_start=1635
  _GG18MESSAGE._serialized_end=1665
  _MPC._serialized_start=1794
  _MPC._serialized_end=2497
# @@protoc_insertion_point(module_scope)
