113 lines
4 KiB
Python
113 lines
4 KiB
Python
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: lbrynet/schema/proto/stream.proto
|
|
|
|
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()
|
|
|
|
|
|
from lbrynet.schema.proto import metadata_pb2 as lbrynet_dot_schema_dot_proto_dot_metadata__pb2
|
|
from lbrynet.schema.proto import source_pb2 as lbrynet_dot_schema_dot_proto_dot_source__pb2
|
|
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor(
|
|
name='lbrynet/schema/proto/stream.proto',
|
|
package='',
|
|
syntax='proto2',
|
|
serialized_options=None,
|
|
serialized_pb=_b('\n!lbrynet/schema/proto/stream.proto\x1a#lbrynet/schema/proto/metadata.proto\x1a!lbrynet/schema/proto/source.proto\"\x8c\x01\n\x06Stream\x12 \n\x07version\x18\x01 \x02(\x0e\x32\x0f.Stream.Version\x12\x1b\n\x08metadata\x18\x02 \x02(\x0b\x32\t.Metadata\x12\x17\n\x06source\x18\x03 \x02(\x0b\x32\x07.Source\"*\n\x07Version\x12\x13\n\x0fUNKNOWN_VERSION\x10\x00\x12\n\n\x06_0_0_1\x10\x01')
|
|
,
|
|
dependencies=[lbrynet_dot_schema_dot_proto_dot_metadata__pb2.DESCRIPTOR,lbrynet_dot_schema_dot_proto_dot_source__pb2.DESCRIPTOR,])
|
|
|
|
|
|
|
|
_STREAM_VERSION = _descriptor.EnumDescriptor(
|
|
name='Version',
|
|
full_name='Stream.Version',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
values=[
|
|
_descriptor.EnumValueDescriptor(
|
|
name='UNKNOWN_VERSION', index=0, number=0,
|
|
serialized_options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='_0_0_1', index=1, number=1,
|
|
serialized_options=None,
|
|
type=None),
|
|
],
|
|
containing_type=None,
|
|
serialized_options=None,
|
|
serialized_start=208,
|
|
serialized_end=250,
|
|
)
|
|
_sym_db.RegisterEnumDescriptor(_STREAM_VERSION)
|
|
|
|
|
|
_STREAM = _descriptor.Descriptor(
|
|
name='Stream',
|
|
full_name='Stream',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='version', full_name='Stream.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,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='metadata', full_name='Stream.metadata', index=1,
|
|
number=2, type=11, cpp_type=10, label=2,
|
|
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),
|
|
_descriptor.FieldDescriptor(
|
|
name='source', full_name='Stream.source', index=2,
|
|
number=3, type=11, cpp_type=10, label=2,
|
|
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),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
_STREAM_VERSION,
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto2',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=110,
|
|
serialized_end=250,
|
|
)
|
|
|
|
_STREAM.fields_by_name['version'].enum_type = _STREAM_VERSION
|
|
_STREAM.fields_by_name['metadata'].message_type = lbrynet_dot_schema_dot_proto_dot_metadata__pb2._METADATA
|
|
_STREAM.fields_by_name['source'].message_type = lbrynet_dot_schema_dot_proto_dot_source__pb2._SOURCE
|
|
_STREAM_VERSION.containing_type = _STREAM
|
|
DESCRIPTOR.message_types_by_name['Stream'] = _STREAM
|
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
|
|
|
Stream = _reflection.GeneratedProtocolMessageType('Stream', (_message.Message,), dict(
|
|
DESCRIPTOR = _STREAM,
|
|
__module__ = 'lbrynet.schema.proto.stream_pb2'
|
|
# @@protoc_insertion_point(class_scope:Stream)
|
|
))
|
|
_sym_db.RegisterMessage(Stream)
|
|
|
|
|
|
# @@protoc_insertion_point(module_scope)
|