librespot-python/librespot/proto/Restrictions_pb2.py

481 lines
17 KiB
Python
Raw Normal View History

2021-02-24 00:46:59 +01:00
# -*- 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
2021-05-22 03:26:33 +02:00
2021-02-24 00:46:59 +01:00
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor.FileDescriptor(
2021-05-22 03:26:33 +02:00
name="restrictions.proto",
package="spotify.player.proto",
syntax="proto2",
serialized_options=b"\n\023com.spotify.contextH\002",
2021-02-24 00:46:59 +01:00
create_key=_descriptor._internal_create_key,
2021-05-22 03:27:30 +02:00
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',
2021-02-24 00:46:59 +01:00
)
_RESTRICTIONS = _descriptor.Descriptor(
2021-05-22 03:26:33 +02:00
name="Restrictions",
full_name="spotify.player.proto.Restrictions",
2021-02-24 00:46:59 +01:00
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_pausing_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_pausing_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_resuming_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_resuming_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_seeking_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_seeking_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_peeking_prev_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_peeking_prev_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_peeking_next_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_peeking_next_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_skipping_prev_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_skipping_prev_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_skipping_next_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_skipping_next_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_toggling_repeat_context_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_toggling_repeat_context_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_toggling_repeat_track_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_toggling_repeat_track_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_toggling_shuffle_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_toggling_shuffle_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_set_queue_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_set_queue_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_interrupting_playback_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_interrupting_playback_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_transferring_playback_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_transferring_playback_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_remote_control_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_remote_control_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_inserting_into_next_tracks_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_inserting_into_next_tracks_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_inserting_into_context_tracks_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_inserting_into_context_tracks_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_reordering_in_next_tracks_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_reordering_in_next_tracks_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_reordering_in_context_tracks_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_reordering_in_context_tracks_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_removing_from_next_tracks_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_removing_from_next_tracks_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_removing_from_context_tracks_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_removing_from_context_tracks_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
_descriptor.FieldDescriptor(
2021-05-22 03:26:33 +02:00
name="disallow_updating_context_reasons",
2021-05-22 03:27:30 +02:00
full_name=
"spotify.player.proto.Restrictions.disallow_updating_context_reasons",
2021-02-24 00:46:59 +01:00
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,
2021-05-22 03:26:33 +02:00
create_key=_descriptor._internal_create_key,
),
2021-02-24 00:46:59 +01:00
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
2021-05-22 03:26:33 +02:00
syntax="proto2",
2021-02-24 00:46:59 +01:00
extension_ranges=[],
oneofs=[],
serialized_start=45,
serialized_end=1000,
)
2021-05-22 03:26:33 +02:00
DESCRIPTOR.message_types_by_name["Restrictions"] = _RESTRICTIONS
2021-02-24 00:46:59 +01:00
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Restrictions = _reflection.GeneratedProtocolMessageType(
2021-05-22 03:26:33 +02:00
"Restrictions",
2021-05-22 03:27:30 +02:00
(_message.Message, ),
2021-02-24 00:46:59 +01:00
{
2021-05-22 03:26:33 +02:00
"DESCRIPTOR": _RESTRICTIONS,
"__module__": "restrictions_pb2"
2021-02-24 00:46:59 +01:00
# @@protoc_insertion_point(class_scope:spotify.player.proto.Restrictions)
2021-05-22 03:26:33 +02:00
},
)
2021-02-24 00:46:59 +01:00
_sym_db.RegisterMessage(Restrictions)
DESCRIPTOR._options = None
# @@protoc_insertion_point(module_scope)