2018-09-17 22:13:30 +02:00
|
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2018-11-04 09:45:58 +01:00
|
|
|
# source: lbrynet/schema/proto/claim.proto
|
2018-09-17 22:13:30 +02:00
|
|
|
|
|
|
|
import sys
|
|
|
|
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
|
|
|
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()
|
|
|
|
|
|
|
|
|
2018-11-04 09:45:58 +01:00
|
|
|
from lbrynet.schema.proto import stream_pb2 as lbrynet_dot_schema_dot_proto_dot_stream__pb2
|
|
|
|
from lbrynet.schema.proto import certificate_pb2 as lbrynet_dot_schema_dot_proto_dot_certificate__pb2
|
|
|
|
from lbrynet.schema.proto import signature_pb2 as lbrynet_dot_schema_dot_proto_dot_signature__pb2
|
2018-09-17 22:13:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor(
|
2018-11-04 09:45:58 +01:00
|
|
|
name='lbrynet/schema/proto/claim.proto',
|
2018-09-17 22:13:30 +02:00
|
|
|
package='',
|
2018-11-04 09:45:58 +01:00
|
|
|
syntax='proto2',
|
|
|
|
serialized_options=None,
|
|
|
|
serialized_pb=_b('\n lbrynet/schema/proto/claim.proto\x1a!lbrynet/schema/proto/stream.proto\x1a&lbrynet/schema/proto/certificate.proto\x1a$lbrynet/schema/proto/signature.proto\"\xa7\x02\n\x05\x43laim\x12\x1f\n\x07version\x18\x01 \x02(\x0e\x32\x0e.Claim.Version\x12#\n\tclaimType\x18\x02 \x02(\x0e\x32\x10.Claim.ClaimType\x12\x17\n\x06stream\x18\x03 \x01(\x0b\x32\x07.Stream\x12!\n\x0b\x63\x65rtificate\x18\x04 \x01(\x0b\x32\x0c.Certificate\x12&\n\x12publisherSignature\x18\x05 \x01(\x0b\x32\n.Signature\"*\n\x07Version\x12\x13\n\x0fUNKNOWN_VERSION\x10\x00\x12\n\n\x06_0_0_1\x10\x01\"H\n\tClaimType\x12\x16\n\x12UNKNOWN_CLAIM_TYPE\x10\x00\x12\x0e\n\nstreamType\x10\x01\x12\x13\n\x0f\x63\x65rtificateType\x10\x02')
|
2018-09-17 22:13:30 +02:00
|
|
|
,
|
2018-11-04 09:45:58 +01:00
|
|
|
dependencies=[lbrynet_dot_schema_dot_proto_dot_stream__pb2.DESCRIPTOR,lbrynet_dot_schema_dot_proto_dot_certificate__pb2.DESCRIPTOR,lbrynet_dot_schema_dot_proto_dot_signature__pb2.DESCRIPTOR,])
|
2018-09-17 22:13:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_CLAIM_VERSION = _descriptor.EnumDescriptor(
|
|
|
|
name='Version',
|
|
|
|
full_name='Claim.Version',
|
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
values=[
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='UNKNOWN_VERSION', index=0, number=0,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
2018-09-17 22:13:30 +02:00
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='_0_0_1', index=1, number=1,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
2018-09-17 22:13:30 +02:00
|
|
|
type=None),
|
|
|
|
],
|
|
|
|
containing_type=None,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
|
|
|
serialized_start=329,
|
|
|
|
serialized_end=371,
|
2018-09-17 22:13:30 +02:00
|
|
|
)
|
|
|
|
_sym_db.RegisterEnumDescriptor(_CLAIM_VERSION)
|
|
|
|
|
|
|
|
_CLAIM_CLAIMTYPE = _descriptor.EnumDescriptor(
|
|
|
|
name='ClaimType',
|
|
|
|
full_name='Claim.ClaimType',
|
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
values=[
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='UNKNOWN_CLAIM_TYPE', index=0, number=0,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
2018-09-17 22:13:30 +02:00
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='streamType', index=1, number=1,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
2018-09-17 22:13:30 +02:00
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='certificateType', index=2, number=2,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
2018-09-17 22:13:30 +02:00
|
|
|
type=None),
|
|
|
|
],
|
|
|
|
containing_type=None,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
|
|
|
serialized_start=373,
|
|
|
|
serialized_end=445,
|
2018-09-17 22:13:30 +02:00
|
|
|
)
|
|
|
|
_sym_db.RegisterEnumDescriptor(_CLAIM_CLAIMTYPE)
|
|
|
|
|
|
|
|
|
|
|
|
_CLAIM = _descriptor.Descriptor(
|
|
|
|
name='Claim',
|
|
|
|
full_name='Claim',
|
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
containing_type=None,
|
|
|
|
fields=[
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='version', full_name='Claim.version', index=0,
|
|
|
|
number=1, type=14, cpp_type=8, label=2,
|
|
|
|
has_default_value=False, default_value=0,
|
|
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
|
|
is_extension=False, extension_scope=None,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None, file=DESCRIPTOR),
|
2018-09-17 22:13:30 +02:00
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='claimType', full_name='Claim.claimType', index=1,
|
|
|
|
number=2, type=14, cpp_type=8, label=2,
|
|
|
|
has_default_value=False, default_value=0,
|
|
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
|
|
is_extension=False, extension_scope=None,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None, file=DESCRIPTOR),
|
2018-09-17 22:13:30 +02:00
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='stream', full_name='Claim.stream', 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,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None, file=DESCRIPTOR),
|
2018-09-17 22:13:30 +02:00
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='certificate', full_name='Claim.certificate', index=3,
|
|
|
|
number=4, 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,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None, file=DESCRIPTOR),
|
2018-09-17 22:13:30 +02:00
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='publisherSignature', full_name='Claim.publisherSignature', 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,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None, file=DESCRIPTOR),
|
2018-09-17 22:13:30 +02:00
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
_CLAIM_VERSION,
|
|
|
|
_CLAIM_CLAIMTYPE,
|
|
|
|
],
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
2018-09-17 22:13:30 +02:00
|
|
|
is_extendable=False,
|
2018-11-04 09:45:58 +01:00
|
|
|
syntax='proto2',
|
2018-09-17 22:13:30 +02:00
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_start=150,
|
|
|
|
serialized_end=445,
|
2018-09-17 22:13:30 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
_CLAIM.fields_by_name['version'].enum_type = _CLAIM_VERSION
|
|
|
|
_CLAIM.fields_by_name['claimType'].enum_type = _CLAIM_CLAIMTYPE
|
2018-11-04 09:45:58 +01:00
|
|
|
_CLAIM.fields_by_name['stream'].message_type = lbrynet_dot_schema_dot_proto_dot_stream__pb2._STREAM
|
|
|
|
_CLAIM.fields_by_name['certificate'].message_type = lbrynet_dot_schema_dot_proto_dot_certificate__pb2._CERTIFICATE
|
|
|
|
_CLAIM.fields_by_name['publisherSignature'].message_type = lbrynet_dot_schema_dot_proto_dot_signature__pb2._SIGNATURE
|
2018-09-17 22:13:30 +02:00
|
|
|
_CLAIM_VERSION.containing_type = _CLAIM
|
|
|
|
_CLAIM_CLAIMTYPE.containing_type = _CLAIM
|
|
|
|
DESCRIPTOR.message_types_by_name['Claim'] = _CLAIM
|
2018-11-04 09:45:58 +01:00
|
|
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
2018-09-17 22:13:30 +02:00
|
|
|
|
|
|
|
Claim = _reflection.GeneratedProtocolMessageType('Claim', (_message.Message,), dict(
|
|
|
|
DESCRIPTOR = _CLAIM,
|
2018-09-17 22:31:44 +02:00
|
|
|
__module__ = 'lbrynet.schema.proto.claim_pb2'
|
2018-09-17 22:13:30 +02:00
|
|
|
# @@protoc_insertion_point(class_scope:Claim)
|
|
|
|
))
|
|
|
|
_sym_db.RegisterMessage(Claim)
|
|
|
|
|
|
|
|
|
|
|
|
# @@protoc_insertion_point(module_scope)
|