Restyled by yapf

This commit is contained in:
Restyled.io
2021-05-22 01:27:30 +00:00
parent 9c47be20a5
commit 0fbe39722b
48 changed files with 1213 additions and 1198 deletions

View File

@@ -17,7 +17,8 @@ DESCRIPTOR = _descriptor.FileDescriptor(
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(
@@ -30,7 +31,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
fields=[
_descriptor.FieldDescriptor(
name="disallow_pausing_reasons",
full_name="spotify.player.proto.Restrictions.disallow_pausing_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_pausing_reasons",
index=0,
number=1,
type=9,
@@ -49,7 +51,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_resuming_reasons",
full_name="spotify.player.proto.Restrictions.disallow_resuming_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_resuming_reasons",
index=1,
number=2,
type=9,
@@ -68,7 +71,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_seeking_reasons",
full_name="spotify.player.proto.Restrictions.disallow_seeking_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_seeking_reasons",
index=2,
number=3,
type=9,
@@ -87,7 +91,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_peeking_prev_reasons",
full_name="spotify.player.proto.Restrictions.disallow_peeking_prev_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_peeking_prev_reasons",
index=3,
number=4,
type=9,
@@ -106,7 +111,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_peeking_next_reasons",
full_name="spotify.player.proto.Restrictions.disallow_peeking_next_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_peeking_next_reasons",
index=4,
number=5,
type=9,
@@ -125,7 +131,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_skipping_prev_reasons",
full_name="spotify.player.proto.Restrictions.disallow_skipping_prev_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_skipping_prev_reasons",
index=5,
number=6,
type=9,
@@ -144,7 +151,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_skipping_next_reasons",
full_name="spotify.player.proto.Restrictions.disallow_skipping_next_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_skipping_next_reasons",
index=6,
number=7,
type=9,
@@ -163,7 +171,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_toggling_repeat_context_reasons",
full_name="spotify.player.proto.Restrictions.disallow_toggling_repeat_context_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_toggling_repeat_context_reasons",
index=7,
number=8,
type=9,
@@ -182,7 +191,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_toggling_repeat_track_reasons",
full_name="spotify.player.proto.Restrictions.disallow_toggling_repeat_track_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_toggling_repeat_track_reasons",
index=8,
number=9,
type=9,
@@ -201,7 +211,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_toggling_shuffle_reasons",
full_name="spotify.player.proto.Restrictions.disallow_toggling_shuffle_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_toggling_shuffle_reasons",
index=9,
number=10,
type=9,
@@ -220,7 +231,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_set_queue_reasons",
full_name="spotify.player.proto.Restrictions.disallow_set_queue_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_set_queue_reasons",
index=10,
number=11,
type=9,
@@ -239,7 +251,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_interrupting_playback_reasons",
full_name="spotify.player.proto.Restrictions.disallow_interrupting_playback_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_interrupting_playback_reasons",
index=11,
number=12,
type=9,
@@ -258,7 +271,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_transferring_playback_reasons",
full_name="spotify.player.proto.Restrictions.disallow_transferring_playback_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_transferring_playback_reasons",
index=12,
number=13,
type=9,
@@ -277,7 +291,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_remote_control_reasons",
full_name="spotify.player.proto.Restrictions.disallow_remote_control_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_remote_control_reasons",
index=13,
number=14,
type=9,
@@ -296,7 +311,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_inserting_into_next_tracks_reasons",
full_name="spotify.player.proto.Restrictions.disallow_inserting_into_next_tracks_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_inserting_into_next_tracks_reasons",
index=14,
number=15,
type=9,
@@ -315,7 +331,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_inserting_into_context_tracks_reasons",
full_name="spotify.player.proto.Restrictions.disallow_inserting_into_context_tracks_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_inserting_into_context_tracks_reasons",
index=15,
number=16,
type=9,
@@ -334,7 +351,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_reordering_in_next_tracks_reasons",
full_name="spotify.player.proto.Restrictions.disallow_reordering_in_next_tracks_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_reordering_in_next_tracks_reasons",
index=16,
number=17,
type=9,
@@ -353,7 +371,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_reordering_in_context_tracks_reasons",
full_name="spotify.player.proto.Restrictions.disallow_reordering_in_context_tracks_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_reordering_in_context_tracks_reasons",
index=17,
number=18,
type=9,
@@ -372,7 +391,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_removing_from_next_tracks_reasons",
full_name="spotify.player.proto.Restrictions.disallow_removing_from_next_tracks_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_removing_from_next_tracks_reasons",
index=18,
number=19,
type=9,
@@ -391,7 +411,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_removing_from_context_tracks_reasons",
full_name="spotify.player.proto.Restrictions.disallow_removing_from_context_tracks_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_removing_from_context_tracks_reasons",
index=19,
number=20,
type=9,
@@ -410,7 +431,8 @@ _RESTRICTIONS = _descriptor.Descriptor(
),
_descriptor.FieldDescriptor(
name="disallow_updating_context_reasons",
full_name="spotify.player.proto.Restrictions.disallow_updating_context_reasons",
full_name=
"spotify.player.proto.Restrictions.disallow_updating_context_reasons",
index=20,
number=21,
type=9,
@@ -445,7 +467,7 @@ _sym_db.RegisterFileDescriptor(DESCRIPTOR)
Restrictions = _reflection.GeneratedProtocolMessageType(
"Restrictions",
(_message.Message,),
(_message.Message, ),
{
"DESCRIPTOR": _RESTRICTIONS,
"__module__": "restrictions_pb2"