174 lines
33 KiB
Python
174 lines
33 KiB
Python
|
# -*- coding: utf-8 -*-
|
||
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
# source: claim.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\x63laim.proto\x12\x02pb\"\xab\x02\n\x05\x43laim\x12\x1c\n\x06stream\x18\x01 \x01(\x0b\x32\n.pb.StreamH\x00\x12\x1e\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x0b.pb.ChannelH\x00\x12#\n\ncollection\x18\x03 \x01(\x0b\x32\r.pb.ClaimListH\x00\x12$\n\x06repost\x18\x04 \x01(\x0b\x32\x12.pb.ClaimReferenceH\x00\x12\r\n\x05title\x18\x08 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12\x1d\n\tthumbnail\x18\n \x01(\x0b\x32\n.pb.Source\x12\x0c\n\x04tags\x18\x0b \x03(\t\x12\x1f\n\tlanguages\x18\x0c \x03(\x0b\x32\x0c.pb.Language\x12\x1f\n\tlocations\x18\r \x03(\x0b\x32\x0c.pb.LocationB\x06\n\x04type\"\x84\x02\n\x06Stream\x12\x1a\n\x06source\x18\x01 \x01(\x0b\x32\n.pb.Source\x12\x0e\n\x06\x61uthor\x18\x02 \x01(\t\x12\x0f\n\x07license\x18\x03 \x01(\t\x12\x13\n\x0blicense_url\x18\x04 \x01(\t\x12\x14\n\x0crelease_time\x18\x05 \x01(\x03\x12\x14\n\x03\x66\x65\x65\x18\x06 \x01(\x0b\x32\x07.pb.Fee\x12\x1a\n\x05image\x18\n \x01(\x0b\x32\t.pb.ImageH\x00\x12\x1a\n\x05video\x18\x0b \x01(\x0b\x32\t.pb.VideoH\x00\x12\x1a\n\x05\x61udio\x18\x0c \x01(\x0b\x32\t.pb.AudioH\x00\x12 \n\x08software\x18\r \x01(\x0b\x32\x0c.pb.SoftwareH\x00\x42\x06\n\x04type\"}\n\x07\x43hannel\x12\x12\n\npublic_key\x18\x01 \x01(\x0c\x12\r\n\x05\x65mail\x18\x02 \x01(\t\x12\x13\n\x0bwebsite_url\x18\x03 \x01(\t\x12\x19\n\x05\x63over\x18\x04 \x01(\x0b\x32\n.pb.Source\x12\x1f\n\x08\x66\x65\x61tured\x18\x05 \x01(\x0b\x32\r.pb.ClaimList\"$\n\x0e\x43laimReference\x12\x12\n\nclaim_hash\x18\x01 \x01(\x0c\"\x90\x01\n\tClaimList\x12)\n\tlist_type\x18\x01 \x01(\x0e\x32\x16.pb.ClaimList.ListType\x12,\n\x10\x63laim_references\x18\x02 \x03(\x0b\x32\x12.pb.ClaimReference\"*\n\x08ListType\x12\x0e\n\nCOLLECTION\x10\x00\x12\x0e\n\nDERIVATION\x10\x02\"y\n\x06Source\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04size\x18\x03 \x01(\x04\x12\x12\n\nmedia_type\x18\x04 \x01(\t\x12\x0b\n\x03url\x18\x05 \x01(\t\x12\x0f\n\x07sd_hash\x18\x06 \x01(\x0c\x12\x13\n\x0b\x62t_infohash\x18\x07 \x01(\x0c\"\x87\x01\n\x03\x46\x65\x65\x12\"\n\x08\x63urrency\x18\x01 \x01(\x0e\x32\x10.pb.Fee.Currency\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\x0c\x12\x0e\n\x06\x61mount\x18\x03 \x01(\x04\";\n\x08\x43urrency\x12\x14\n\x10UNKNOWN_CURRENCY\x10\x00\x12\x07\n\x03LBC\x10\x01\x12\x07\n\x03\x42TC\x10\x02\x12\x07\n\x03USD\x10\x03\"&\n\x05Image\x12\r\n\x05width\x18\x01 \x01(\r\x12\x0e\n\x06height\x18\x02 \x01(\r\"R\n\x05Video\x12\r\n\x05width\x18\x01 \x01(\r\x12\x0e\n\x06height\x18\x02 \x01(\r\x12\x10\n\x08\x64uration\x18\x03 \x01(\r\x12\x18\n\x05\x61udio\x18\x0f \x01(\x0b\x32\t.pb.Audio\"\x19\n\x05\x41udio\x12\x10\n\x08\x64uration\x18\x01 \x01(\r\"l\n\x08Software\x12\n\n\x02os\x18\x01 \x01(\t\"T\n\x02OS\x12\x0e\n\nUNKNOWN_OS\x10\x00\x12\x07\n\x03\x41NY\x10\x01\x12\t\n\x05LINUX\x10\x02\x12\x0b\n\x07WINDOWS\x10\x03\x12\x07\n\x03MAC\x10\x04\x12\x0b\n\x07\x41NDROID\x10\x05\x12\x07\n\x03IOS\x10\x06\"\xc7\x1d\n\x08Language\x12\'\n\x08language\x18\x01 \x01(\x0e\x32\x15.pb.Language.Language\x12#\n\x06script\x18\x02 \x01(\x0e\x32\x13.pb.Language.Script\x12$\n\x06region\x18\x03 \x01(\x0e\x32\x14.pb.Location.Country\"\x99\x0c\n\x08Language\x12\x14\n\x10UNKNOWN_LANGUAGE\x10\x00\x12\x06\n\x02\x65n\x10\x01\x12\x06\n\x02\x61\x61\x10\x02\x12\x06\n\x02\x61\x62\x10\x03\x12\x06\n\x02\x61\x65\x10\x04\x12\x06\n\x02\x61\x66\x10\x05\x12\x06\n\x02\x61k\x10\x06\x12\x06\n\x02\x61m\x10\x07\x12\x06\n\x02\x61n\x10\x08\x12\x06\n\x02\x61r\x10\t\x12\x06\n\x02\x61s\x10\n\x12\x06\n\x02\x61v\x10\x0b\x12\x06\n\x02\x61y\x10\x0c\x12\x06\n\x02\x61z\x10\r\x12\x06\n\x02\x62\x61\x10\x0e\x12\x06\n\x02\x62\x65\x10\x0f\x12\x06\n\x02\x62g\x10\x10\x12\x06\n\x02\x62h\x10\x11\x12\x06\n\x02\x62i\x10\x12\x12\x06\n\x02\x62m\x10\x13\x12\x06\n\x02\x62n\x10\x14\x12\x06\n\x02\x62o\x10\x15\x12\x06\n\x02\x62r\x10\x16\x12\x06\n\x02\x62s\x10\x17\x12\x06\n\x02\x63\x61\x10\x18\x12\x06\n\x02\x63\x65\x10\x19\x12\x06\n\x02\x63h\x10\x1a\x12\x06\n\x02\x63o\x10\x1b\x12\x06\n\x02\x63r\x10\x1c\x12\x06\n\x02\x63s\x10\x1d\x12\x06\n\x02\x63u\x10\x1e\x12\x06\n\x02\x63v\x10\x1f\x12\x06\n\x02\x63
|
||
|
|
||
|
|
||
|
|
||
|
_CLAIM = DESCRIPTOR.message_types_by_name['Claim']
|
||
|
_STREAM = DESCRIPTOR.message_types_by_name['Stream']
|
||
|
_CHANNEL = DESCRIPTOR.message_types_by_name['Channel']
|
||
|
_CLAIMREFERENCE = DESCRIPTOR.message_types_by_name['ClaimReference']
|
||
|
_CLAIMLIST = DESCRIPTOR.message_types_by_name['ClaimList']
|
||
|
_SOURCE = DESCRIPTOR.message_types_by_name['Source']
|
||
|
_FEE = DESCRIPTOR.message_types_by_name['Fee']
|
||
|
_IMAGE = DESCRIPTOR.message_types_by_name['Image']
|
||
|
_VIDEO = DESCRIPTOR.message_types_by_name['Video']
|
||
|
_AUDIO = DESCRIPTOR.message_types_by_name['Audio']
|
||
|
_SOFTWARE = DESCRIPTOR.message_types_by_name['Software']
|
||
|
_LANGUAGE = DESCRIPTOR.message_types_by_name['Language']
|
||
|
_LOCATION = DESCRIPTOR.message_types_by_name['Location']
|
||
|
_CLAIMLIST_LISTTYPE = _CLAIMLIST.enum_types_by_name['ListType']
|
||
|
_FEE_CURRENCY = _FEE.enum_types_by_name['Currency']
|
||
|
_SOFTWARE_OS = _SOFTWARE.enum_types_by_name['OS']
|
||
|
_LANGUAGE_LANGUAGE = _LANGUAGE.enum_types_by_name['Language']
|
||
|
_LANGUAGE_SCRIPT = _LANGUAGE.enum_types_by_name['Script']
|
||
|
_LOCATION_COUNTRY = _LOCATION.enum_types_by_name['Country']
|
||
|
Claim = _reflection.GeneratedProtocolMessageType('Claim', (_message.Message,), {
|
||
|
'DESCRIPTOR' : _CLAIM,
|
||
|
'__module__' : 'claim_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:pb.Claim)
|
||
|
})
|
||
|
_sym_db.RegisterMessage(Claim)
|
||
|
|
||
|
Stream = _reflection.GeneratedProtocolMessageType('Stream', (_message.Message,), {
|
||
|
'DESCRIPTOR' : _STREAM,
|
||
|
'__module__' : 'claim_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:pb.Stream)
|
||
|
})
|
||
|
_sym_db.RegisterMessage(Stream)
|
||
|
|
||
|
Channel = _reflection.GeneratedProtocolMessageType('Channel', (_message.Message,), {
|
||
|
'DESCRIPTOR' : _CHANNEL,
|
||
|
'__module__' : 'claim_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:pb.Channel)
|
||
|
})
|
||
|
_sym_db.RegisterMessage(Channel)
|
||
|
|
||
|
ClaimReference = _reflection.GeneratedProtocolMessageType('ClaimReference', (_message.Message,), {
|
||
|
'DESCRIPTOR' : _CLAIMREFERENCE,
|
||
|
'__module__' : 'claim_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:pb.ClaimReference)
|
||
|
})
|
||
|
_sym_db.RegisterMessage(ClaimReference)
|
||
|
|
||
|
ClaimList = _reflection.GeneratedProtocolMessageType('ClaimList', (_message.Message,), {
|
||
|
'DESCRIPTOR' : _CLAIMLIST,
|
||
|
'__module__' : 'claim_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:pb.ClaimList)
|
||
|
})
|
||
|
_sym_db.RegisterMessage(ClaimList)
|
||
|
|
||
|
Source = _reflection.GeneratedProtocolMessageType('Source', (_message.Message,), {
|
||
|
'DESCRIPTOR' : _SOURCE,
|
||
|
'__module__' : 'claim_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:pb.Source)
|
||
|
})
|
||
|
_sym_db.RegisterMessage(Source)
|
||
|
|
||
|
Fee = _reflection.GeneratedProtocolMessageType('Fee', (_message.Message,), {
|
||
|
'DESCRIPTOR' : _FEE,
|
||
|
'__module__' : 'claim_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:pb.Fee)
|
||
|
})
|
||
|
_sym_db.RegisterMessage(Fee)
|
||
|
|
||
|
Image = _reflection.GeneratedProtocolMessageType('Image', (_message.Message,), {
|
||
|
'DESCRIPTOR' : _IMAGE,
|
||
|
'__module__' : 'claim_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:pb.Image)
|
||
|
})
|
||
|
_sym_db.RegisterMessage(Image)
|
||
|
|
||
|
Video = _reflection.GeneratedProtocolMessageType('Video', (_message.Message,), {
|
||
|
'DESCRIPTOR' : _VIDEO,
|
||
|
'__module__' : 'claim_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:pb.Video)
|
||
|
})
|
||
|
_sym_db.RegisterMessage(Video)
|
||
|
|
||
|
Audio = _reflection.GeneratedProtocolMessageType('Audio', (_message.Message,), {
|
||
|
'DESCRIPTOR' : _AUDIO,
|
||
|
'__module__' : 'claim_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:pb.Audio)
|
||
|
})
|
||
|
_sym_db.RegisterMessage(Audio)
|
||
|
|
||
|
Software = _reflection.GeneratedProtocolMessageType('Software', (_message.Message,), {
|
||
|
'DESCRIPTOR' : _SOFTWARE,
|
||
|
'__module__' : 'claim_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:pb.Software)
|
||
|
})
|
||
|
_sym_db.RegisterMessage(Software)
|
||
|
|
||
|
Language = _reflection.GeneratedProtocolMessageType('Language', (_message.Message,), {
|
||
|
'DESCRIPTOR' : _LANGUAGE,
|
||
|
'__module__' : 'claim_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:pb.Language)
|
||
|
})
|
||
|
_sym_db.RegisterMessage(Language)
|
||
|
|
||
|
Location = _reflection.GeneratedProtocolMessageType('Location', (_message.Message,), {
|
||
|
'DESCRIPTOR' : _LOCATION,
|
||
|
'__module__' : 'claim_pb2'
|
||
|
# @@protoc_insertion_point(class_scope:pb.Location)
|
||
|
})
|
||
|
_sym_db.RegisterMessage(Location)
|
||
|
|
||
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
||
|
|
||
|
DESCRIPTOR._options = None
|
||
|
DESCRIPTOR._serialized_options = b'Z$github.com/lbryio/hub/protobuf/go/pb'
|
||
|
_CLAIM._serialized_start=20
|
||
|
_CLAIM._serialized_end=319
|
||
|
_STREAM._serialized_start=322
|
||
|
_STREAM._serialized_end=582
|
||
|
_CHANNEL._serialized_start=584
|
||
|
_CHANNEL._serialized_end=709
|
||
|
_CLAIMREFERENCE._serialized_start=711
|
||
|
_CLAIMREFERENCE._serialized_end=747
|
||
|
_CLAIMLIST._serialized_start=750
|
||
|
_CLAIMLIST._serialized_end=894
|
||
|
_CLAIMLIST_LISTTYPE._serialized_start=852
|
||
|
_CLAIMLIST_LISTTYPE._serialized_end=894
|
||
|
_SOURCE._serialized_start=896
|
||
|
_SOURCE._serialized_end=1017
|
||
|
_FEE._serialized_start=1020
|
||
|
_FEE._serialized_end=1155
|
||
|
_FEE_CURRENCY._serialized_start=1096
|
||
|
_FEE_CURRENCY._serialized_end=1155
|
||
|
_IMAGE._serialized_start=1157
|
||
|
_IMAGE._serialized_end=1195
|
||
|
_VIDEO._serialized_start=1197
|
||
|
_VIDEO._serialized_end=1279
|
||
|
_AUDIO._serialized_start=1281
|
||
|
_AUDIO._serialized_end=1306
|
||
|
_SOFTWARE._serialized_start=1308
|
||
|
_SOFTWARE._serialized_end=1416
|
||
|
_SOFTWARE_OS._serialized_start=1332
|
||
|
_SOFTWARE_OS._serialized_end=1416
|
||
|
_LANGUAGE._serialized_start=1419
|
||
|
_LANGUAGE._serialized_end=5202
|
||
|
_LANGUAGE_LANGUAGE._serialized_start=1548
|
||
|
_LANGUAGE_LANGUAGE._serialized_end=3109
|
||
|
_LANGUAGE_SCRIPT._serialized_start=3112
|
||
|
_LANGUAGE_SCRIPT._serialized_end=5202
|
||
|
_LOCATION._serialized_start=5205
|
||
|
_LOCATION._serialized_end=10561
|
||
|
_LOCATION_COUNTRY._serialized_start=5337
|
||
|
_LOCATION_COUNTRY._serialized_end=10561
|
||
|
# @@protoc_insertion_point(module_scope)
|