# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: deals/rpc/rpc.proto

from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
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.FileDescriptor(
  name='deals/rpc/rpc.proto',
  package='deals.rpc',
  syntax='proto3',
  serialized_options=b'Z(github.com/textileio/powergate/deals/rpc',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x13\x64\x65\x61ls/rpc/rpc.proto\x12\tdeals.rpc\"\x81\x01\n\x15ListDealRecordsConfig\x12\x12\n\nfrom_addrs\x18\x01 \x03(\t\x12\x11\n\tdata_cids\x18\x02 \x03(\t\x12\x17\n\x0finclude_pending\x18\x03 \x01(\x08\x12\x15\n\rinclude_final\x18\x04 \x01(\x08\x12\x11\n\tascending\x18\x05 \x01(\x08\"\xf5\x01\n\x0fStorageDealInfo\x12\x14\n\x0cproposal_cid\x18\x01 \x01(\t\x12\x10\n\x08state_id\x18\x02 \x01(\x04\x12\x12\n\nstate_name\x18\x03 \x01(\t\x12\r\n\x05miner\x18\x04 \x01(\t\x12\x11\n\tpiece_cid\x18\x05 \x01(\t\x12\x0c\n\x04size\x18\x06 \x01(\x04\x12\x17\n\x0fprice_per_epoch\x18\x07 \x01(\x04\x12\x13\n\x0bstart_epoch\x18\x08 \x01(\x04\x12\x10\n\x08\x64uration\x18\t \x01(\x04\x12\x0f\n\x07\x64\x65\x61l_id\x18\n \x01(\x04\x12\x18\n\x10\x61\x63tivation_epoch\x18\x0b \x01(\x03\x12\x0b\n\x03msg\x18\x0c \x01(\t\"\x81\x01\n\x11StorageDealRecord\x12\x10\n\x08root_cid\x18\x01 \x01(\t\x12\x0c\n\x04\x61\x64\x64r\x18\x02 \x01(\t\x12\x0c\n\x04time\x18\x03 \x01(\x03\x12\x0f\n\x07pending\x18\x04 \x01(\x08\x12-\n\tdeal_info\x18\x05 \x01(\x0b\x32\x1a.deals.rpc.StorageDealInfo\"\xa9\x01\n\x11RetrievalDealInfo\x12\x10\n\x08root_cid\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x04\x12\x11\n\tmin_price\x18\x03 \x01(\x04\x12\x18\n\x10payment_interval\x18\x04 \x01(\x04\x12!\n\x19payment_interval_increase\x18\x05 \x01(\x04\x12\r\n\x05miner\x18\x06 \x01(\t\x12\x15\n\rminer_peer_id\x18\x07 \x01(\t\"b\n\x13RetrievalDealRecord\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\t\x12\x0c\n\x04time\x18\x02 \x01(\x03\x12/\n\tdeal_info\x18\x03 \x01(\x0b\x32\x1c.deals.rpc.RetrievalDealInfo\"7\n\x11StorageDealConfig\x12\r\n\x05miner\x18\x01 \x01(\t\x12\x13\n\x0b\x65poch_price\x18\x02 \x01(\x04\"s\n\x0bStoreResult\x12\x14\n\x0cproposal_cid\x18\x01 \x01(\t\x12,\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x1c.deals.rpc.StorageDealConfig\x12\x0f\n\x07success\x18\x03 \x01(\x08\x12\x0f\n\x07message\x18\x04 \x01(\t\"\x1e\n\x0cImportParams\x12\x0e\n\x06is_car\x18\x01 \x01(\x08\"]\n\rImportRequest\x12\x30\n\rimport_params\x18\x01 \x01(\x0b\x32\x17.deals.rpc.ImportParamsH\x00\x12\x0f\n\x05\x63hunk\x18\x02 \x01(\x0cH\x00\x42\t\n\x07payload\"0\n\x0eImportResponse\x12\x10\n\x08\x64\x61ta_cid\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x03\"\x97\x01\n\x0cStoreRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x10\n\x08\x64\x61ta_cid\x18\x02 \x01(\t\x12\x12\n\npiece_size\x18\x03 \x01(\x04\x12:\n\x14storage_deal_configs\x18\x04 \x03(\x0b\x32\x1c.deals.rpc.StorageDealConfig\x12\x14\n\x0cmin_duration\x18\x05 \x01(\x04\"8\n\rStoreResponse\x12\'\n\x07results\x18\x01 \x03(\x0b\x32\x16.deals.rpc.StoreResult\",\n\x0c\x46\x65tchRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0b\n\x03\x63id\x18\x02 \x01(\t\"\x0f\n\rFetchResponse\"E\n\x0fRetrieveRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0b\n\x03\x63id\x18\x02 \x01(\t\x12\x14\n\x0c\x63\x61r_encoding\x18\x03 \x01(\x08\"!\n\x10RetrieveResponse\x12\r\n\x05\x63hunk\x18\x01 \x01(\x0c\",\n\x14GetDealStatusRequest\x12\x14\n\x0cproposal_cid\x18\x01 \x01(\t\"V\n\x15GetDealStatusResponse\x12,\n\x06status\x18\x01 \x01(\x0e\x32\x1c.deals.rpc.StorageDealStatus\x12\x0f\n\x07slashed\x18\x02 \x01(\x08\"!\n\x0cWatchRequest\x12\x11\n\tproposals\x18\x01 \x03(\t\">\n\rWatchResponse\x12-\n\tdeal_info\x18\x01 \x01(\x0b\x32\x1a.deals.rpc.StorageDealInfo\"Q\n\x1dListStorageDealRecordsRequest\x12\x30\n\x06\x63onfig\x18\x01 \x01(\x0b\x32 .deals.rpc.ListDealRecordsConfig\"O\n\x1eListStorageDealRecordsResponse\x12-\n\x07records\x18\x01 \x03(\x0b\x32\x1c.deals.rpc.StorageDealRecord\"S\n\x1fListRetrievalDealRecordsRequest\x12\x30\n\x06\x63onfig\x18\x01 \x01(\x0b\x32 .deals.rpc.ListDealRecordsConfig\"S\n ListRetrievalDealRecordsResponse\x12/\n\x07records\x18\x01 \x03(\x0b\x32\x1e.deals.rpc.RetrievalDealRecord*\xdf\x02\n\x11StorageDealStatus\x12#\n\x1fSTORAGE_DEAL_STATUS_UNSPECIFIED\x10\x00\x12*\n&STORAGE_DEAL_STATUS_PROPOSAL_NOT_FOUND\x10\x01\x12)\n%STORAGE_DEAL_STATUS_PROPOSAL_REJECTED\x10\x02\x12)\n%STORAGE_DEAL_STATUS_PROPOSAL_ACCEPTED\x10\x03\x12\x1e\n\x1aSTORAGE_DEAL_STATUS_STAGED\x10\x04\x12\x1f\n\x1bSTORAGE_DEAL_STATUS_SEALING\x10\x05\x12\x1e\n\x1aSTORAGE_DEAL_STATUS_ACTIVE\x10\x06\x12\x1f\n\x1bSTORAGE_DEAL_STATUS_FAILING\x10\x07\x12!\n\x1dSTORAGE_DEAL_STATUS_NOT_FOUND\x10\x08\x32\x92\x05\n\nRPCService\x12\x41\n\x06Import\x12\x18.deals.rpc.ImportRequest\x1a\x19.deals.rpc.ImportResponse\"\x00(\x01\x12<\n\x05Store\x12\x17.deals.rpc.StoreRequest\x1a\x18.deals.rpc.StoreResponse\"\x00\x12<\n\x05\x46\x65tch\x12\x17.deals.rpc.FetchRequest\x1a\x18.deals.rpc.FetchResponse\"\x00\x12G\n\x08Retrieve\x12\x1a.deals.rpc.RetrieveRequest\x1a\x1b.deals.rpc.RetrieveResponse\"\x00\x30\x01\x12T\n\rGetDealStatus\x12\x1f.deals.rpc.GetDealStatusRequest\x1a .deals.rpc.GetDealStatusResponse\"\x00\x12>\n\x05Watch\x12\x17.deals.rpc.WatchRequest\x1a\x18.deals.rpc.WatchResponse\"\x00\x30\x01\x12o\n\x16ListStorageDealRecords\x12(.deals.rpc.ListStorageDealRecordsRequest\x1a).deals.rpc.ListStorageDealRecordsResponse\"\x00\x12u\n\x18ListRetrievalDealRecords\x12*.deals.rpc.ListRetrievalDealRecordsRequest\x1a+.deals.rpc.ListRetrievalDealRecordsResponse\"\x00\x42*Z(github.com/textileio/powergate/deals/rpcb\x06proto3'
)

_STORAGEDEALSTATUS = _descriptor.EnumDescriptor(
  name='StorageDealStatus',
  full_name='deals.rpc.StorageDealStatus',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='STORAGE_DEAL_STATUS_UNSPECIFIED', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='STORAGE_DEAL_STATUS_PROPOSAL_NOT_FOUND', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='STORAGE_DEAL_STATUS_PROPOSAL_REJECTED', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='STORAGE_DEAL_STATUS_PROPOSAL_ACCEPTED', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='STORAGE_DEAL_STATUS_STAGED', index=4, number=4,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='STORAGE_DEAL_STATUS_SEALING', index=5, number=5,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='STORAGE_DEAL_STATUS_ACTIVE', index=6, number=6,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='STORAGE_DEAL_STATUS_FAILING', index=7, number=7,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='STORAGE_DEAL_STATUS_NOT_FOUND', index=8, number=8,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=2118,
  serialized_end=2469,
)
_sym_db.RegisterEnumDescriptor(_STORAGEDEALSTATUS)

StorageDealStatus = enum_type_wrapper.EnumTypeWrapper(_STORAGEDEALSTATUS)
STORAGE_DEAL_STATUS_UNSPECIFIED = 0
STORAGE_DEAL_STATUS_PROPOSAL_NOT_FOUND = 1
STORAGE_DEAL_STATUS_PROPOSAL_REJECTED = 2
STORAGE_DEAL_STATUS_PROPOSAL_ACCEPTED = 3
STORAGE_DEAL_STATUS_STAGED = 4
STORAGE_DEAL_STATUS_SEALING = 5
STORAGE_DEAL_STATUS_ACTIVE = 6
STORAGE_DEAL_STATUS_FAILING = 7
STORAGE_DEAL_STATUS_NOT_FOUND = 8



_LISTDEALRECORDSCONFIG = _descriptor.Descriptor(
  name='ListDealRecordsConfig',
  full_name='deals.rpc.ListDealRecordsConfig',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='from_addrs', full_name='deals.rpc.ListDealRecordsConfig.from_addrs', index=0,
      number=1, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='data_cids', full_name='deals.rpc.ListDealRecordsConfig.data_cids', index=1,
      number=2, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='include_pending', full_name='deals.rpc.ListDealRecordsConfig.include_pending', index=2,
      number=3, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='include_final', full_name='deals.rpc.ListDealRecordsConfig.include_final', index=3,
      number=4, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='ascending', full_name='deals.rpc.ListDealRecordsConfig.ascending', index=4,
      number=5, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=35,
  serialized_end=164,
)


_STORAGEDEALINFO = _descriptor.Descriptor(
  name='StorageDealInfo',
  full_name='deals.rpc.StorageDealInfo',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='proposal_cid', full_name='deals.rpc.StorageDealInfo.proposal_cid', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='state_id', full_name='deals.rpc.StorageDealInfo.state_id', index=1,
      number=2, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='state_name', full_name='deals.rpc.StorageDealInfo.state_name', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='miner', full_name='deals.rpc.StorageDealInfo.miner', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='piece_cid', full_name='deals.rpc.StorageDealInfo.piece_cid', index=4,
      number=5, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='size', full_name='deals.rpc.StorageDealInfo.size', index=5,
      number=6, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='price_per_epoch', full_name='deals.rpc.StorageDealInfo.price_per_epoch', index=6,
      number=7, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='start_epoch', full_name='deals.rpc.StorageDealInfo.start_epoch', index=7,
      number=8, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='duration', full_name='deals.rpc.StorageDealInfo.duration', index=8,
      number=9, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='deal_id', full_name='deals.rpc.StorageDealInfo.deal_id', index=9,
      number=10, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='activation_epoch', full_name='deals.rpc.StorageDealInfo.activation_epoch', index=10,
      number=11, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='msg', full_name='deals.rpc.StorageDealInfo.msg', index=11,
      number=12, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=167,
  serialized_end=412,
)


_STORAGEDEALRECORD = _descriptor.Descriptor(
  name='StorageDealRecord',
  full_name='deals.rpc.StorageDealRecord',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='root_cid', full_name='deals.rpc.StorageDealRecord.root_cid', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='addr', full_name='deals.rpc.StorageDealRecord.addr', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='time', full_name='deals.rpc.StorageDealRecord.time', index=2,
      number=3, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='pending', full_name='deals.rpc.StorageDealRecord.pending', index=3,
      number=4, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='deal_info', full_name='deals.rpc.StorageDealRecord.deal_info', index=4,
      number=5, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=415,
  serialized_end=544,
)


_RETRIEVALDEALINFO = _descriptor.Descriptor(
  name='RetrievalDealInfo',
  full_name='deals.rpc.RetrievalDealInfo',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='root_cid', full_name='deals.rpc.RetrievalDealInfo.root_cid', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='size', full_name='deals.rpc.RetrievalDealInfo.size', index=1,
      number=2, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='min_price', full_name='deals.rpc.RetrievalDealInfo.min_price', index=2,
      number=3, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='payment_interval', full_name='deals.rpc.RetrievalDealInfo.payment_interval', index=3,
      number=4, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='payment_interval_increase', full_name='deals.rpc.RetrievalDealInfo.payment_interval_increase', index=4,
      number=5, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='miner', full_name='deals.rpc.RetrievalDealInfo.miner', index=5,
      number=6, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='miner_peer_id', full_name='deals.rpc.RetrievalDealInfo.miner_peer_id', index=6,
      number=7, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=547,
  serialized_end=716,
)


_RETRIEVALDEALRECORD = _descriptor.Descriptor(
  name='RetrievalDealRecord',
  full_name='deals.rpc.RetrievalDealRecord',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='addr', full_name='deals.rpc.RetrievalDealRecord.addr', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='time', full_name='deals.rpc.RetrievalDealRecord.time', index=1,
      number=2, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='deal_info', full_name='deals.rpc.RetrievalDealRecord.deal_info', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=718,
  serialized_end=816,
)


_STORAGEDEALCONFIG = _descriptor.Descriptor(
  name='StorageDealConfig',
  full_name='deals.rpc.StorageDealConfig',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='miner', full_name='deals.rpc.StorageDealConfig.miner', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='epoch_price', full_name='deals.rpc.StorageDealConfig.epoch_price', index=1,
      number=2, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=818,
  serialized_end=873,
)


_STORERESULT = _descriptor.Descriptor(
  name='StoreResult',
  full_name='deals.rpc.StoreResult',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='proposal_cid', full_name='deals.rpc.StoreResult.proposal_cid', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='config', full_name='deals.rpc.StoreResult.config', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='success', full_name='deals.rpc.StoreResult.success', index=2,
      number=3, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='message', full_name='deals.rpc.StoreResult.message', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=875,
  serialized_end=990,
)


_IMPORTPARAMS = _descriptor.Descriptor(
  name='ImportParams',
  full_name='deals.rpc.ImportParams',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='is_car', full_name='deals.rpc.ImportParams.is_car', index=0,
      number=1, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=992,
  serialized_end=1022,
)


_IMPORTREQUEST = _descriptor.Descriptor(
  name='ImportRequest',
  full_name='deals.rpc.ImportRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='import_params', full_name='deals.rpc.ImportRequest.import_params', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='chunk', full_name='deals.rpc.ImportRequest.chunk', index=1,
      number=2, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=b"",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='payload', full_name='deals.rpc.ImportRequest.payload',
      index=0, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
  ],
  serialized_start=1024,
  serialized_end=1117,
)


_IMPORTRESPONSE = _descriptor.Descriptor(
  name='ImportResponse',
  full_name='deals.rpc.ImportResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='data_cid', full_name='deals.rpc.ImportResponse.data_cid', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='size', full_name='deals.rpc.ImportResponse.size', index=1,
      number=2, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1119,
  serialized_end=1167,
)


_STOREREQUEST = _descriptor.Descriptor(
  name='StoreRequest',
  full_name='deals.rpc.StoreRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='address', full_name='deals.rpc.StoreRequest.address', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='data_cid', full_name='deals.rpc.StoreRequest.data_cid', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='piece_size', full_name='deals.rpc.StoreRequest.piece_size', index=2,
      number=3, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='storage_deal_configs', full_name='deals.rpc.StoreRequest.storage_deal_configs', index=3,
      number=4, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='min_duration', full_name='deals.rpc.StoreRequest.min_duration', index=4,
      number=5, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1170,
  serialized_end=1321,
)


_STORERESPONSE = _descriptor.Descriptor(
  name='StoreResponse',
  full_name='deals.rpc.StoreResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='results', full_name='deals.rpc.StoreResponse.results', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1323,
  serialized_end=1379,
)


_FETCHREQUEST = _descriptor.Descriptor(
  name='FetchRequest',
  full_name='deals.rpc.FetchRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='address', full_name='deals.rpc.FetchRequest.address', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='cid', full_name='deals.rpc.FetchRequest.cid', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1381,
  serialized_end=1425,
)


_FETCHRESPONSE = _descriptor.Descriptor(
  name='FetchResponse',
  full_name='deals.rpc.FetchResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1427,
  serialized_end=1442,
)


_RETRIEVEREQUEST = _descriptor.Descriptor(
  name='RetrieveRequest',
  full_name='deals.rpc.RetrieveRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='address', full_name='deals.rpc.RetrieveRequest.address', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='cid', full_name='deals.rpc.RetrieveRequest.cid', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='car_encoding', full_name='deals.rpc.RetrieveRequest.car_encoding', index=2,
      number=3, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1444,
  serialized_end=1513,
)


_RETRIEVERESPONSE = _descriptor.Descriptor(
  name='RetrieveResponse',
  full_name='deals.rpc.RetrieveResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='chunk', full_name='deals.rpc.RetrieveResponse.chunk', index=0,
      number=1, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=b"",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1515,
  serialized_end=1548,
)


_GETDEALSTATUSREQUEST = _descriptor.Descriptor(
  name='GetDealStatusRequest',
  full_name='deals.rpc.GetDealStatusRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='proposal_cid', full_name='deals.rpc.GetDealStatusRequest.proposal_cid', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1550,
  serialized_end=1594,
)


_GETDEALSTATUSRESPONSE = _descriptor.Descriptor(
  name='GetDealStatusResponse',
  full_name='deals.rpc.GetDealStatusResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='status', full_name='deals.rpc.GetDealStatusResponse.status', index=0,
      number=1, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='slashed', full_name='deals.rpc.GetDealStatusResponse.slashed', index=1,
      number=2, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1596,
  serialized_end=1682,
)


_WATCHREQUEST = _descriptor.Descriptor(
  name='WatchRequest',
  full_name='deals.rpc.WatchRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='proposals', full_name='deals.rpc.WatchRequest.proposals', index=0,
      number=1, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1684,
  serialized_end=1717,
)


_WATCHRESPONSE = _descriptor.Descriptor(
  name='WatchResponse',
  full_name='deals.rpc.WatchResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='deal_info', full_name='deals.rpc.WatchResponse.deal_info', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1719,
  serialized_end=1781,
)


_LISTSTORAGEDEALRECORDSREQUEST = _descriptor.Descriptor(
  name='ListStorageDealRecordsRequest',
  full_name='deals.rpc.ListStorageDealRecordsRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='config', full_name='deals.rpc.ListStorageDealRecordsRequest.config', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1783,
  serialized_end=1864,
)


_LISTSTORAGEDEALRECORDSRESPONSE = _descriptor.Descriptor(
  name='ListStorageDealRecordsResponse',
  full_name='deals.rpc.ListStorageDealRecordsResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='records', full_name='deals.rpc.ListStorageDealRecordsResponse.records', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1866,
  serialized_end=1945,
)


_LISTRETRIEVALDEALRECORDSREQUEST = _descriptor.Descriptor(
  name='ListRetrievalDealRecordsRequest',
  full_name='deals.rpc.ListRetrievalDealRecordsRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='config', full_name='deals.rpc.ListRetrievalDealRecordsRequest.config', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1947,
  serialized_end=2030,
)


_LISTRETRIEVALDEALRECORDSRESPONSE = _descriptor.Descriptor(
  name='ListRetrievalDealRecordsResponse',
  full_name='deals.rpc.ListRetrievalDealRecordsResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='records', full_name='deals.rpc.ListRetrievalDealRecordsResponse.records', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2032,
  serialized_end=2115,
)

_STORAGEDEALRECORD.fields_by_name['deal_info'].message_type = _STORAGEDEALINFO
_RETRIEVALDEALRECORD.fields_by_name['deal_info'].message_type = _RETRIEVALDEALINFO
_STORERESULT.fields_by_name['config'].message_type = _STORAGEDEALCONFIG
_IMPORTREQUEST.fields_by_name['import_params'].message_type = _IMPORTPARAMS
_IMPORTREQUEST.oneofs_by_name['payload'].fields.append(
  _IMPORTREQUEST.fields_by_name['import_params'])
_IMPORTREQUEST.fields_by_name['import_params'].containing_oneof = _IMPORTREQUEST.oneofs_by_name['payload']
_IMPORTREQUEST.oneofs_by_name['payload'].fields.append(
  _IMPORTREQUEST.fields_by_name['chunk'])
_IMPORTREQUEST.fields_by_name['chunk'].containing_oneof = _IMPORTREQUEST.oneofs_by_name['payload']
_STOREREQUEST.fields_by_name['storage_deal_configs'].message_type = _STORAGEDEALCONFIG
_STORERESPONSE.fields_by_name['results'].message_type = _STORERESULT
_GETDEALSTATUSRESPONSE.fields_by_name['status'].enum_type = _STORAGEDEALSTATUS
_WATCHRESPONSE.fields_by_name['deal_info'].message_type = _STORAGEDEALINFO
_LISTSTORAGEDEALRECORDSREQUEST.fields_by_name['config'].message_type = _LISTDEALRECORDSCONFIG
_LISTSTORAGEDEALRECORDSRESPONSE.fields_by_name['records'].message_type = _STORAGEDEALRECORD
_LISTRETRIEVALDEALRECORDSREQUEST.fields_by_name['config'].message_type = _LISTDEALRECORDSCONFIG
_LISTRETRIEVALDEALRECORDSRESPONSE.fields_by_name['records'].message_type = _RETRIEVALDEALRECORD
DESCRIPTOR.message_types_by_name['ListDealRecordsConfig'] = _LISTDEALRECORDSCONFIG
DESCRIPTOR.message_types_by_name['StorageDealInfo'] = _STORAGEDEALINFO
DESCRIPTOR.message_types_by_name['StorageDealRecord'] = _STORAGEDEALRECORD
DESCRIPTOR.message_types_by_name['RetrievalDealInfo'] = _RETRIEVALDEALINFO
DESCRIPTOR.message_types_by_name['RetrievalDealRecord'] = _RETRIEVALDEALRECORD
DESCRIPTOR.message_types_by_name['StorageDealConfig'] = _STORAGEDEALCONFIG
DESCRIPTOR.message_types_by_name['StoreResult'] = _STORERESULT
DESCRIPTOR.message_types_by_name['ImportParams'] = _IMPORTPARAMS
DESCRIPTOR.message_types_by_name['ImportRequest'] = _IMPORTREQUEST
DESCRIPTOR.message_types_by_name['ImportResponse'] = _IMPORTRESPONSE
DESCRIPTOR.message_types_by_name['StoreRequest'] = _STOREREQUEST
DESCRIPTOR.message_types_by_name['StoreResponse'] = _STORERESPONSE
DESCRIPTOR.message_types_by_name['FetchRequest'] = _FETCHREQUEST
DESCRIPTOR.message_types_by_name['FetchResponse'] = _FETCHRESPONSE
DESCRIPTOR.message_types_by_name['RetrieveRequest'] = _RETRIEVEREQUEST
DESCRIPTOR.message_types_by_name['RetrieveResponse'] = _RETRIEVERESPONSE
DESCRIPTOR.message_types_by_name['GetDealStatusRequest'] = _GETDEALSTATUSREQUEST
DESCRIPTOR.message_types_by_name['GetDealStatusResponse'] = _GETDEALSTATUSRESPONSE
DESCRIPTOR.message_types_by_name['WatchRequest'] = _WATCHREQUEST
DESCRIPTOR.message_types_by_name['WatchResponse'] = _WATCHRESPONSE
DESCRIPTOR.message_types_by_name['ListStorageDealRecordsRequest'] = _LISTSTORAGEDEALRECORDSREQUEST
DESCRIPTOR.message_types_by_name['ListStorageDealRecordsResponse'] = _LISTSTORAGEDEALRECORDSRESPONSE
DESCRIPTOR.message_types_by_name['ListRetrievalDealRecordsRequest'] = _LISTRETRIEVALDEALRECORDSREQUEST
DESCRIPTOR.message_types_by_name['ListRetrievalDealRecordsResponse'] = _LISTRETRIEVALDEALRECORDSRESPONSE
DESCRIPTOR.enum_types_by_name['StorageDealStatus'] = _STORAGEDEALSTATUS
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ListDealRecordsConfig = _reflection.GeneratedProtocolMessageType('ListDealRecordsConfig', (_message.Message,), {
  'DESCRIPTOR' : _LISTDEALRECORDSCONFIG,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.ListDealRecordsConfig)
  })
_sym_db.RegisterMessage(ListDealRecordsConfig)

StorageDealInfo = _reflection.GeneratedProtocolMessageType('StorageDealInfo', (_message.Message,), {
  'DESCRIPTOR' : _STORAGEDEALINFO,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.StorageDealInfo)
  })
_sym_db.RegisterMessage(StorageDealInfo)

StorageDealRecord = _reflection.GeneratedProtocolMessageType('StorageDealRecord', (_message.Message,), {
  'DESCRIPTOR' : _STORAGEDEALRECORD,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.StorageDealRecord)
  })
_sym_db.RegisterMessage(StorageDealRecord)

RetrievalDealInfo = _reflection.GeneratedProtocolMessageType('RetrievalDealInfo', (_message.Message,), {
  'DESCRIPTOR' : _RETRIEVALDEALINFO,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.RetrievalDealInfo)
  })
_sym_db.RegisterMessage(RetrievalDealInfo)

RetrievalDealRecord = _reflection.GeneratedProtocolMessageType('RetrievalDealRecord', (_message.Message,), {
  'DESCRIPTOR' : _RETRIEVALDEALRECORD,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.RetrievalDealRecord)
  })
_sym_db.RegisterMessage(RetrievalDealRecord)

StorageDealConfig = _reflection.GeneratedProtocolMessageType('StorageDealConfig', (_message.Message,), {
  'DESCRIPTOR' : _STORAGEDEALCONFIG,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.StorageDealConfig)
  })
_sym_db.RegisterMessage(StorageDealConfig)

StoreResult = _reflection.GeneratedProtocolMessageType('StoreResult', (_message.Message,), {
  'DESCRIPTOR' : _STORERESULT,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.StoreResult)
  })
_sym_db.RegisterMessage(StoreResult)

ImportParams = _reflection.GeneratedProtocolMessageType('ImportParams', (_message.Message,), {
  'DESCRIPTOR' : _IMPORTPARAMS,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.ImportParams)
  })
_sym_db.RegisterMessage(ImportParams)

ImportRequest = _reflection.GeneratedProtocolMessageType('ImportRequest', (_message.Message,), {
  'DESCRIPTOR' : _IMPORTREQUEST,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.ImportRequest)
  })
_sym_db.RegisterMessage(ImportRequest)

ImportResponse = _reflection.GeneratedProtocolMessageType('ImportResponse', (_message.Message,), {
  'DESCRIPTOR' : _IMPORTRESPONSE,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.ImportResponse)
  })
_sym_db.RegisterMessage(ImportResponse)

StoreRequest = _reflection.GeneratedProtocolMessageType('StoreRequest', (_message.Message,), {
  'DESCRIPTOR' : _STOREREQUEST,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.StoreRequest)
  })
_sym_db.RegisterMessage(StoreRequest)

StoreResponse = _reflection.GeneratedProtocolMessageType('StoreResponse', (_message.Message,), {
  'DESCRIPTOR' : _STORERESPONSE,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.StoreResponse)
  })
_sym_db.RegisterMessage(StoreResponse)

FetchRequest = _reflection.GeneratedProtocolMessageType('FetchRequest', (_message.Message,), {
  'DESCRIPTOR' : _FETCHREQUEST,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.FetchRequest)
  })
_sym_db.RegisterMessage(FetchRequest)

FetchResponse = _reflection.GeneratedProtocolMessageType('FetchResponse', (_message.Message,), {
  'DESCRIPTOR' : _FETCHRESPONSE,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.FetchResponse)
  })
_sym_db.RegisterMessage(FetchResponse)

RetrieveRequest = _reflection.GeneratedProtocolMessageType('RetrieveRequest', (_message.Message,), {
  'DESCRIPTOR' : _RETRIEVEREQUEST,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.RetrieveRequest)
  })
_sym_db.RegisterMessage(RetrieveRequest)

RetrieveResponse = _reflection.GeneratedProtocolMessageType('RetrieveResponse', (_message.Message,), {
  'DESCRIPTOR' : _RETRIEVERESPONSE,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.RetrieveResponse)
  })
_sym_db.RegisterMessage(RetrieveResponse)

GetDealStatusRequest = _reflection.GeneratedProtocolMessageType('GetDealStatusRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETDEALSTATUSREQUEST,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.GetDealStatusRequest)
  })
_sym_db.RegisterMessage(GetDealStatusRequest)

GetDealStatusResponse = _reflection.GeneratedProtocolMessageType('GetDealStatusResponse', (_message.Message,), {
  'DESCRIPTOR' : _GETDEALSTATUSRESPONSE,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.GetDealStatusResponse)
  })
_sym_db.RegisterMessage(GetDealStatusResponse)

WatchRequest = _reflection.GeneratedProtocolMessageType('WatchRequest', (_message.Message,), {
  'DESCRIPTOR' : _WATCHREQUEST,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.WatchRequest)
  })
_sym_db.RegisterMessage(WatchRequest)

WatchResponse = _reflection.GeneratedProtocolMessageType('WatchResponse', (_message.Message,), {
  'DESCRIPTOR' : _WATCHRESPONSE,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.WatchResponse)
  })
_sym_db.RegisterMessage(WatchResponse)

ListStorageDealRecordsRequest = _reflection.GeneratedProtocolMessageType('ListStorageDealRecordsRequest', (_message.Message,), {
  'DESCRIPTOR' : _LISTSTORAGEDEALRECORDSREQUEST,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.ListStorageDealRecordsRequest)
  })
_sym_db.RegisterMessage(ListStorageDealRecordsRequest)

ListStorageDealRecordsResponse = _reflection.GeneratedProtocolMessageType('ListStorageDealRecordsResponse', (_message.Message,), {
  'DESCRIPTOR' : _LISTSTORAGEDEALRECORDSRESPONSE,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.ListStorageDealRecordsResponse)
  })
_sym_db.RegisterMessage(ListStorageDealRecordsResponse)

ListRetrievalDealRecordsRequest = _reflection.GeneratedProtocolMessageType('ListRetrievalDealRecordsRequest', (_message.Message,), {
  'DESCRIPTOR' : _LISTRETRIEVALDEALRECORDSREQUEST,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.ListRetrievalDealRecordsRequest)
  })
_sym_db.RegisterMessage(ListRetrievalDealRecordsRequest)

ListRetrievalDealRecordsResponse = _reflection.GeneratedProtocolMessageType('ListRetrievalDealRecordsResponse', (_message.Message,), {
  'DESCRIPTOR' : _LISTRETRIEVALDEALRECORDSRESPONSE,
  '__module__' : 'deals.rpc.rpc_pb2'
  # @@protoc_insertion_point(class_scope:deals.rpc.ListRetrievalDealRecordsResponse)
  })
_sym_db.RegisterMessage(ListRetrievalDealRecordsResponse)


DESCRIPTOR._options = None

_RPCSERVICE = _descriptor.ServiceDescriptor(
  name='RPCService',
  full_name='deals.rpc.RPCService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=2472,
  serialized_end=3130,
  methods=[
  _descriptor.MethodDescriptor(
    name='Import',
    full_name='deals.rpc.RPCService.Import',
    index=0,
    containing_service=None,
    input_type=_IMPORTREQUEST,
    output_type=_IMPORTRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='Store',
    full_name='deals.rpc.RPCService.Store',
    index=1,
    containing_service=None,
    input_type=_STOREREQUEST,
    output_type=_STORERESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='Fetch',
    full_name='deals.rpc.RPCService.Fetch',
    index=2,
    containing_service=None,
    input_type=_FETCHREQUEST,
    output_type=_FETCHRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='Retrieve',
    full_name='deals.rpc.RPCService.Retrieve',
    index=3,
    containing_service=None,
    input_type=_RETRIEVEREQUEST,
    output_type=_RETRIEVERESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='GetDealStatus',
    full_name='deals.rpc.RPCService.GetDealStatus',
    index=4,
    containing_service=None,
    input_type=_GETDEALSTATUSREQUEST,
    output_type=_GETDEALSTATUSRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='Watch',
    full_name='deals.rpc.RPCService.Watch',
    index=5,
    containing_service=None,
    input_type=_WATCHREQUEST,
    output_type=_WATCHRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='ListStorageDealRecords',
    full_name='deals.rpc.RPCService.ListStorageDealRecords',
    index=6,
    containing_service=None,
    input_type=_LISTSTORAGEDEALRECORDSREQUEST,
    output_type=_LISTSTORAGEDEALRECORDSRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='ListRetrievalDealRecords',
    full_name='deals.rpc.RPCService.ListRetrievalDealRecords',
    index=7,
    containing_service=None,
    input_type=_LISTRETRIEVALDEALRECORDSREQUEST,
    output_type=_LISTRETRIEVALDEALRECORDSRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_RPCSERVICE)

DESCRIPTOR.services_by_name['RPCService'] = _RPCSERVICE

# @@protoc_insertion_point(module_scope)
