mirror of
https://github.com/kokarare1212/librespot-python.git
synced 2024-10-01 08:51:15 +02:00
436 lines
16 KiB
Python
436 lines
16 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: restrictions.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()
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor(
|
|
name='restrictions.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\x12restrictions.proto\x12\x14spotify.player.proto\"\xbb\x07\n\x0cRestrictions\x12 \n\x18\x64isallow_pausing_reasons\x18\x01 \x03(\t\x12!\n\x19\x64isallow_resuming_reasons\x18\x02 \x03(\t\x12 \n\x18\x64isallow_seeking_reasons\x18\x03 \x03(\t\x12%\n\x1d\x64isallow_peeking_prev_reasons\x18\x04 \x03(\t\x12%\n\x1d\x64isallow_peeking_next_reasons\x18\x05 \x03(\t\x12&\n\x1e\x64isallow_skipping_prev_reasons\x18\x06 \x03(\t\x12&\n\x1e\x64isallow_skipping_next_reasons\x18\x07 \x03(\t\x12\x30\n(disallow_toggling_repeat_context_reasons\x18\x08 \x03(\t\x12.\n&disallow_toggling_repeat_track_reasons\x18\t \x03(\t\x12)\n!disallow_toggling_shuffle_reasons\x18\n \x03(\t\x12\"\n\x1a\x64isallow_set_queue_reasons\x18\x0b \x03(\t\x12.\n&disallow_interrupting_playback_reasons\x18\x0c \x03(\t\x12.\n&disallow_transferring_playback_reasons\x18\r \x03(\t\x12\'\n\x1f\x64isallow_remote_control_reasons\x18\x0e \x03(\t\x12\x33\n+disallow_inserting_into_next_tracks_reasons\x18\x0f \x03(\t\x12\x36\n.disallow_inserting_into_context_tracks_reasons\x18\x10 \x03(\t\x12\x32\n*disallow_reordering_in_next_tracks_reasons\x18\x11 \x03(\t\x12\x35\n-disallow_reordering_in_context_tracks_reasons\x18\x12 \x03(\t\x12\x32\n*disallow_removing_from_next_tracks_reasons\x18\x13 \x03(\t\x12\x35\n-disallow_removing_from_context_tracks_reasons\x18\x14 \x03(\t\x12)\n!disallow_updating_context_reasons\x18\x15 \x03(\tB\x17\n\x13\x63om.spotify.contextH\x02'
|
|
)
|
|
|
|
_RESTRICTIONS = _descriptor.Descriptor(
|
|
name='Restrictions',
|
|
full_name='spotify.player.proto.Restrictions',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='disallow_pausing_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_pausing_reasons',
|
|
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='disallow_resuming_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_resuming_reasons',
|
|
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='disallow_seeking_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_seeking_reasons',
|
|
index=2,
|
|
number=3,
|
|
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='disallow_peeking_prev_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_peeking_prev_reasons',
|
|
index=3,
|
|
number=4,
|
|
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='disallow_peeking_next_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_peeking_next_reasons',
|
|
index=4,
|
|
number=5,
|
|
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='disallow_skipping_prev_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_skipping_prev_reasons',
|
|
index=5,
|
|
number=6,
|
|
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='disallow_skipping_next_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_skipping_next_reasons',
|
|
index=6,
|
|
number=7,
|
|
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='disallow_toggling_repeat_context_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_toggling_repeat_context_reasons',
|
|
index=7,
|
|
number=8,
|
|
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='disallow_toggling_repeat_track_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_toggling_repeat_track_reasons',
|
|
index=8,
|
|
number=9,
|
|
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='disallow_toggling_shuffle_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_toggling_shuffle_reasons',
|
|
index=9,
|
|
number=10,
|
|
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='disallow_set_queue_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_set_queue_reasons',
|
|
index=10,
|
|
number=11,
|
|
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='disallow_interrupting_playback_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_interrupting_playback_reasons',
|
|
index=11,
|
|
number=12,
|
|
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='disallow_transferring_playback_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_transferring_playback_reasons',
|
|
index=12,
|
|
number=13,
|
|
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='disallow_remote_control_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_remote_control_reasons',
|
|
index=13,
|
|
number=14,
|
|
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='disallow_inserting_into_next_tracks_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_inserting_into_next_tracks_reasons',
|
|
index=14,
|
|
number=15,
|
|
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='disallow_inserting_into_context_tracks_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_inserting_into_context_tracks_reasons',
|
|
index=15,
|
|
number=16,
|
|
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='disallow_reordering_in_next_tracks_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_reordering_in_next_tracks_reasons',
|
|
index=16,
|
|
number=17,
|
|
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='disallow_reordering_in_context_tracks_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_reordering_in_context_tracks_reasons',
|
|
index=17,
|
|
number=18,
|
|
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='disallow_removing_from_next_tracks_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_removing_from_next_tracks_reasons',
|
|
index=18,
|
|
number=19,
|
|
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='disallow_removing_from_context_tracks_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_removing_from_context_tracks_reasons',
|
|
index=19,
|
|
number=20,
|
|
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='disallow_updating_context_reasons',
|
|
full_name='spotify.player.proto.Restrictions.disallow_updating_context_reasons',
|
|
index=20,
|
|
number=21,
|
|
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='proto2',
|
|
extension_ranges=[],
|
|
oneofs=[],
|
|
serialized_start=45,
|
|
serialized_end=1000,
|
|
)
|
|
|
|
DESCRIPTOR.message_types_by_name['Restrictions'] = _RESTRICTIONS
|
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
|
|
|
Restrictions = _reflection.GeneratedProtocolMessageType(
|
|
'Restrictions',
|
|
(_message.Message, ),
|
|
{
|
|
'DESCRIPTOR': _RESTRICTIONS,
|
|
'__module__': 'restrictions_pb2'
|
|
# @@protoc_insertion_point(class_scope:spotify.player.proto.Restrictions)
|
|
})
|
|
_sym_db.RegisterMessage(Restrictions)
|
|
|
|
DESCRIPTOR._options = None
|
|
# @@protoc_insertion_point(module_scope)
|