Restyled by black
This commit is contained in:
@@ -6,30 +6,31 @@ 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',
|
||||
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'
|
||||
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',
|
||||
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',
|
||||
name="disallow_pausing_reasons",
|
||||
full_name="spotify.player.proto.Restrictions.disallow_pausing_reasons",
|
||||
index=0,
|
||||
number=1,
|
||||
type=9,
|
||||
@@ -44,10 +45,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
create_key=_descriptor._internal_create_key,
|
||||
),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='disallow_resuming_reasons',
|
||||
full_name='spotify.player.proto.Restrictions.disallow_resuming_reasons',
|
||||
name="disallow_resuming_reasons",
|
||||
full_name="spotify.player.proto.Restrictions.disallow_resuming_reasons",
|
||||
index=1,
|
||||
number=2,
|
||||
type=9,
|
||||
@@ -62,10 +64,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
create_key=_descriptor._internal_create_key,
|
||||
),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='disallow_seeking_reasons',
|
||||
full_name='spotify.player.proto.Restrictions.disallow_seeking_reasons',
|
||||
name="disallow_seeking_reasons",
|
||||
full_name="spotify.player.proto.Restrictions.disallow_seeking_reasons",
|
||||
index=2,
|
||||
number=3,
|
||||
type=9,
|
||||
@@ -80,10 +83,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
create_key=_descriptor._internal_create_key,
|
||||
),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='disallow_peeking_prev_reasons',
|
||||
full_name='spotify.player.proto.Restrictions.disallow_peeking_prev_reasons',
|
||||
name="disallow_peeking_prev_reasons",
|
||||
full_name="spotify.player.proto.Restrictions.disallow_peeking_prev_reasons",
|
||||
index=3,
|
||||
number=4,
|
||||
type=9,
|
||||
@@ -98,10 +102,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
create_key=_descriptor._internal_create_key,
|
||||
),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='disallow_peeking_next_reasons',
|
||||
full_name='spotify.player.proto.Restrictions.disallow_peeking_next_reasons',
|
||||
name="disallow_peeking_next_reasons",
|
||||
full_name="spotify.player.proto.Restrictions.disallow_peeking_next_reasons",
|
||||
index=4,
|
||||
number=5,
|
||||
type=9,
|
||||
@@ -116,10 +121,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
create_key=_descriptor._internal_create_key,
|
||||
),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='disallow_skipping_prev_reasons',
|
||||
full_name='spotify.player.proto.Restrictions.disallow_skipping_prev_reasons',
|
||||
name="disallow_skipping_prev_reasons",
|
||||
full_name="spotify.player.proto.Restrictions.disallow_skipping_prev_reasons",
|
||||
index=5,
|
||||
number=6,
|
||||
type=9,
|
||||
@@ -134,10 +140,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
create_key=_descriptor._internal_create_key,
|
||||
),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='disallow_skipping_next_reasons',
|
||||
full_name='spotify.player.proto.Restrictions.disallow_skipping_next_reasons',
|
||||
name="disallow_skipping_next_reasons",
|
||||
full_name="spotify.player.proto.Restrictions.disallow_skipping_next_reasons",
|
||||
index=6,
|
||||
number=7,
|
||||
type=9,
|
||||
@@ -152,10 +159,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
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',
|
||||
name="disallow_toggling_repeat_context_reasons",
|
||||
full_name="spotify.player.proto.Restrictions.disallow_toggling_repeat_context_reasons",
|
||||
index=7,
|
||||
number=8,
|
||||
type=9,
|
||||
@@ -170,10 +178,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
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',
|
||||
name="disallow_toggling_repeat_track_reasons",
|
||||
full_name="spotify.player.proto.Restrictions.disallow_toggling_repeat_track_reasons",
|
||||
index=8,
|
||||
number=9,
|
||||
type=9,
|
||||
@@ -188,10 +197,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
create_key=_descriptor._internal_create_key,
|
||||
),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='disallow_toggling_shuffle_reasons',
|
||||
full_name='spotify.player.proto.Restrictions.disallow_toggling_shuffle_reasons',
|
||||
name="disallow_toggling_shuffle_reasons",
|
||||
full_name="spotify.player.proto.Restrictions.disallow_toggling_shuffle_reasons",
|
||||
index=9,
|
||||
number=10,
|
||||
type=9,
|
||||
@@ -206,10 +216,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
create_key=_descriptor._internal_create_key,
|
||||
),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='disallow_set_queue_reasons',
|
||||
full_name='spotify.player.proto.Restrictions.disallow_set_queue_reasons',
|
||||
name="disallow_set_queue_reasons",
|
||||
full_name="spotify.player.proto.Restrictions.disallow_set_queue_reasons",
|
||||
index=10,
|
||||
number=11,
|
||||
type=9,
|
||||
@@ -224,10 +235,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
create_key=_descriptor._internal_create_key,
|
||||
),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='disallow_interrupting_playback_reasons',
|
||||
full_name='spotify.player.proto.Restrictions.disallow_interrupting_playback_reasons',
|
||||
name="disallow_interrupting_playback_reasons",
|
||||
full_name="spotify.player.proto.Restrictions.disallow_interrupting_playback_reasons",
|
||||
index=11,
|
||||
number=12,
|
||||
type=9,
|
||||
@@ -242,10 +254,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
create_key=_descriptor._internal_create_key,
|
||||
),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='disallow_transferring_playback_reasons',
|
||||
full_name='spotify.player.proto.Restrictions.disallow_transferring_playback_reasons',
|
||||
name="disallow_transferring_playback_reasons",
|
||||
full_name="spotify.player.proto.Restrictions.disallow_transferring_playback_reasons",
|
||||
index=12,
|
||||
number=13,
|
||||
type=9,
|
||||
@@ -260,10 +273,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
create_key=_descriptor._internal_create_key,
|
||||
),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='disallow_remote_control_reasons',
|
||||
full_name='spotify.player.proto.Restrictions.disallow_remote_control_reasons',
|
||||
name="disallow_remote_control_reasons",
|
||||
full_name="spotify.player.proto.Restrictions.disallow_remote_control_reasons",
|
||||
index=13,
|
||||
number=14,
|
||||
type=9,
|
||||
@@ -278,10 +292,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
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',
|
||||
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,
|
||||
@@ -296,10 +311,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
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',
|
||||
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,
|
||||
@@ -314,10 +330,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
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',
|
||||
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,
|
||||
@@ -332,10 +349,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
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',
|
||||
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,
|
||||
@@ -350,10 +368,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
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',
|
||||
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,
|
||||
@@ -368,10 +387,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
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',
|
||||
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,
|
||||
@@ -386,10 +406,11 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
create_key=_descriptor._internal_create_key,
|
||||
),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='disallow_updating_context_reasons',
|
||||
full_name='spotify.player.proto.Restrictions.disallow_updating_context_reasons',
|
||||
name="disallow_updating_context_reasons",
|
||||
full_name="spotify.player.proto.Restrictions.disallow_updating_context_reasons",
|
||||
index=20,
|
||||
number=21,
|
||||
type=9,
|
||||
@@ -404,31 +425,33 @@ _RESTRICTIONS = _descriptor.Descriptor(
|
||||
extension_scope=None,
|
||||
serialized_options=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
create_key=_descriptor._internal_create_key,
|
||||
),
|
||||
],
|
||||
extensions=[],
|
||||
nested_types=[],
|
||||
enum_types=[],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
syntax="proto2",
|
||||
extension_ranges=[],
|
||||
oneofs=[],
|
||||
serialized_start=45,
|
||||
serialized_end=1000,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['Restrictions'] = _RESTRICTIONS
|
||||
DESCRIPTOR.message_types_by_name["Restrictions"] = _RESTRICTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
Restrictions = _reflection.GeneratedProtocolMessageType(
|
||||
'Restrictions',
|
||||
(_message.Message, ),
|
||||
"Restrictions",
|
||||
(_message.Message,),
|
||||
{
|
||||
'DESCRIPTOR': _RESTRICTIONS,
|
||||
'__module__': 'restrictions_pb2'
|
||||
"DESCRIPTOR": _RESTRICTIONS,
|
||||
"__module__": "restrictions_pb2"
|
||||
# @@protoc_insertion_point(class_scope:spotify.player.proto.Restrictions)
|
||||
})
|
||||
},
|
||||
)
|
||||
_sym_db.RegisterMessage(Restrictions)
|
||||
|
||||
DESCRIPTOR._options = None
|
||||
|
||||
Reference in New Issue
Block a user