mirror of
https://github.com/kokarare1212/librespot-python.git
synced 2024-09-06 22:09:18 +02:00
230 lines
7.6 KiB
Python
230 lines
7.6 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: context_page.proto
|
|
"""Generated protocol buffer code."""
|
|
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()
|
|
|
|
import ContextTrack as context__track__pb2
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor(
|
|
name='context_page.proto',
|
|
package='spotify.player.proto',
|
|
syntax='proto2',
|
|
serialized_options=b'\n\023com.spotify.contextH\002',
|
|
create_key=_descriptor._internal_create_key,
|
|
serialized_pb=
|
|
b'\n\x12\x63ontext_page.proto\x12\x14spotify.player.proto\x1a\x13\x63ontext_track.proto\"\xef\x01\n\x0b\x43ontextPage\x12\x10\n\x08page_url\x18\x01 \x01(\t\x12\x15\n\rnext_page_url\x18\x02 \x01(\t\x12\x41\n\x08metadata\x18\x03 \x03(\x0b\x32/.spotify.player.proto.ContextPage.MetadataEntry\x12\x32\n\x06tracks\x18\x04 \x03(\x0b\x32\".spotify.player.proto.ContextTrack\x12\x0f\n\x07loading\x18\x05 \x01(\x08\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x17\n\x13\x63om.spotify.contextH\x02',
|
|
dependencies=[
|
|
context__track__pb2.DESCRIPTOR,
|
|
])
|
|
|
|
_CONTEXTPAGE_METADATAENTRY = _descriptor.Descriptor(
|
|
name='MetadataEntry',
|
|
full_name='spotify.player.proto.ContextPage.MetadataEntry',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='key',
|
|
full_name='spotify.player.proto.ContextPage.MetadataEntry.key',
|
|
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='value',
|
|
full_name='spotify.player.proto.ContextPage.MetadataEntry.value',
|
|
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=b'8\001',
|
|
is_extendable=False,
|
|
syntax='proto2',
|
|
extension_ranges=[],
|
|
oneofs=[],
|
|
serialized_start=258,
|
|
serialized_end=305,
|
|
)
|
|
|
|
_CONTEXTPAGE = _descriptor.Descriptor(
|
|
name='ContextPage',
|
|
full_name='spotify.player.proto.ContextPage',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='page_url',
|
|
full_name='spotify.player.proto.ContextPage.page_url',
|
|
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='next_page_url',
|
|
full_name='spotify.player.proto.ContextPage.next_page_url',
|
|
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='metadata',
|
|
full_name='spotify.player.proto.ContextPage.metadata',
|
|
index=2,
|
|
number=3,
|
|
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='tracks',
|
|
full_name='spotify.player.proto.ContextPage.tracks',
|
|
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='loading',
|
|
full_name='spotify.player.proto.ContextPage.loading',
|
|
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=[
|
|
_CONTEXTPAGE_METADATAENTRY,
|
|
],
|
|
enum_types=[],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto2',
|
|
extension_ranges=[],
|
|
oneofs=[],
|
|
serialized_start=66,
|
|
serialized_end=305,
|
|
)
|
|
|
|
_CONTEXTPAGE_METADATAENTRY.containing_type = _CONTEXTPAGE
|
|
_CONTEXTPAGE.fields_by_name[
|
|
'metadata'].message_type = _CONTEXTPAGE_METADATAENTRY
|
|
_CONTEXTPAGE.fields_by_name[
|
|
'tracks'].message_type = context__track__pb2._CONTEXTTRACK
|
|
DESCRIPTOR.message_types_by_name['ContextPage'] = _CONTEXTPAGE
|
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
|
|
|
ContextPage = _reflection.GeneratedProtocolMessageType(
|
|
'ContextPage',
|
|
(_message.Message, ),
|
|
{
|
|
'MetadataEntry':
|
|
_reflection.GeneratedProtocolMessageType(
|
|
'MetadataEntry',
|
|
(_message.Message, ),
|
|
{
|
|
'DESCRIPTOR': _CONTEXTPAGE_METADATAENTRY,
|
|
'__module__': 'context_page_pb2'
|
|
# @@protoc_insertion_point(class_scope:spotify.player.proto.ContextPage.MetadataEntry)
|
|
}),
|
|
'DESCRIPTOR':
|
|
_CONTEXTPAGE,
|
|
'__module__':
|
|
'context_page_pb2'
|
|
# @@protoc_insertion_point(class_scope:spotify.player.proto.ContextPage)
|
|
})
|
|
_sym_db.RegisterMessage(ContextPage)
|
|
_sym_db.RegisterMessage(ContextPage.MetadataEntry)
|
|
|
|
DESCRIPTOR._options = None
|
|
_CONTEXTPAGE_METADATAENTRY._options = None
|
|
# @@protoc_insertion_point(module_scope)
|