Change Directory
This commit is contained in:
214
librespot/proto/spotify/login5/v3/challenges/code_pb2.py
Normal file
214
librespot/proto/spotify/login5/v3/challenges/code_pb2.py
Normal file
@@ -0,0 +1,214 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: spotify/login5/v3/challenges/code.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='spotify/login5/v3/challenges/code.proto',
|
||||
package='spotify.login5.v3.challenges',
|
||||
syntax='proto3',
|
||||
serialized_options=b'\n\024com.spotify.login5v3',
|
||||
create_key=_descriptor._internal_create_key,
|
||||
serialized_pb=
|
||||
b'\n\'spotify/login5/v3/challenges/code.proto\x12\x1cspotify.login5.v3.challenges\"\xbc\x01\n\rCodeChallenge\x12\x42\n\x06method\x18\x01 \x01(\x0e\x32\x32.spotify.login5.v3.challenges.CodeChallenge.Method\x12\x13\n\x0b\x63ode_length\x18\x02 \x01(\x05\x12\x12\n\nexpires_in\x18\x03 \x01(\x05\x12\x1e\n\x16\x63\x61nonical_phone_number\x18\x04 \x01(\t\"\x1e\n\x06Method\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x07\n\x03SMS\x10\x01\"\x1c\n\x0c\x43odeSolution\x12\x0c\n\x04\x63ode\x18\x01 \x01(\tB\x16\n\x14\x63om.spotify.login5v3b\x06proto3'
|
||||
)
|
||||
|
||||
_CODECHALLENGE_METHOD = _descriptor.EnumDescriptor(
|
||||
name='Method',
|
||||
full_name='spotify.login5.v3.challenges.CodeChallenge.Method',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
create_key=_descriptor._internal_create_key,
|
||||
values=[
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='UNKNOWN',
|
||||
index=0,
|
||||
number=0,
|
||||
serialized_options=None,
|
||||
type=None,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='SMS',
|
||||
index=1,
|
||||
number=1,
|
||||
serialized_options=None,
|
||||
type=None,
|
||||
create_key=_descriptor._internal_create_key),
|
||||
],
|
||||
containing_type=None,
|
||||
serialized_options=None,
|
||||
serialized_start=232,
|
||||
serialized_end=262,
|
||||
)
|
||||
_sym_db.RegisterEnumDescriptor(_CODECHALLENGE_METHOD)
|
||||
|
||||
_CODECHALLENGE = _descriptor.Descriptor(
|
||||
name='CodeChallenge',
|
||||
full_name='spotify.login5.v3.challenges.CodeChallenge',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
create_key=_descriptor._internal_create_key,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='method',
|
||||
full_name='spotify.login5.v3.challenges.CodeChallenge.method',
|
||||
index=0,
|
||||
number=1,
|
||||
type=14,
|
||||
cpp_type=8,
|
||||
label=1,
|
||||
has_default_value=False,
|
||||
default_value=0,
|
||||
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='code_length',
|
||||
full_name='spotify.login5.v3.challenges.CodeChallenge.code_length',
|
||||
index=1,
|
||||
number=2,
|
||||
type=5,
|
||||
cpp_type=1,
|
||||
label=1,
|
||||
has_default_value=False,
|
||||
default_value=0,
|
||||
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='expires_in',
|
||||
full_name='spotify.login5.v3.challenges.CodeChallenge.expires_in',
|
||||
index=2,
|
||||
number=3,
|
||||
type=5,
|
||||
cpp_type=1,
|
||||
label=1,
|
||||
has_default_value=False,
|
||||
default_value=0,
|
||||
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='canonical_phone_number',
|
||||
full_name=
|
||||
'spotify.login5.v3.challenges.CodeChallenge.canonical_phone_number',
|
||||
index=3,
|
||||
number=4,
|
||||
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=[
|
||||
_CODECHALLENGE_METHOD,
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto3',
|
||||
extension_ranges=[],
|
||||
oneofs=[],
|
||||
serialized_start=74,
|
||||
serialized_end=262,
|
||||
)
|
||||
|
||||
_CODESOLUTION = _descriptor.Descriptor(
|
||||
name='CodeSolution',
|
||||
full_name='spotify.login5.v3.challenges.CodeSolution',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
create_key=_descriptor._internal_create_key,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='code',
|
||||
full_name='spotify.login5.v3.challenges.CodeSolution.code',
|
||||
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),
|
||||
],
|
||||
extensions=[],
|
||||
nested_types=[],
|
||||
enum_types=[],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto3',
|
||||
extension_ranges=[],
|
||||
oneofs=[],
|
||||
serialized_start=264,
|
||||
serialized_end=292,
|
||||
)
|
||||
|
||||
_CODECHALLENGE.fields_by_name['method'].enum_type = _CODECHALLENGE_METHOD
|
||||
_CODECHALLENGE_METHOD.containing_type = _CODECHALLENGE
|
||||
DESCRIPTOR.message_types_by_name['CodeChallenge'] = _CODECHALLENGE
|
||||
DESCRIPTOR.message_types_by_name['CodeSolution'] = _CODESOLUTION
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
CodeChallenge = _reflection.GeneratedProtocolMessageType(
|
||||
'CodeChallenge',
|
||||
(_message.Message, ),
|
||||
{
|
||||
'DESCRIPTOR': _CODECHALLENGE,
|
||||
'__module__': 'spotify.login5.v3.challenges.code_pb2'
|
||||
# @@protoc_insertion_point(class_scope:spotify.login5.v3.challenges.CodeChallenge)
|
||||
})
|
||||
_sym_db.RegisterMessage(CodeChallenge)
|
||||
|
||||
CodeSolution = _reflection.GeneratedProtocolMessageType(
|
||||
'CodeSolution',
|
||||
(_message.Message, ),
|
||||
{
|
||||
'DESCRIPTOR': _CODESOLUTION,
|
||||
'__module__': 'spotify.login5.v3.challenges.code_pb2'
|
||||
# @@protoc_insertion_point(class_scope:spotify.login5.v3.challenges.CodeSolution)
|
||||
})
|
||||
_sym_db.RegisterMessage(CodeSolution)
|
||||
|
||||
DESCRIPTOR._options = None
|
||||
# @@protoc_insertion_point(module_scope)
|
||||
168
librespot/proto/spotify/login5/v3/challenges/hashcash_pb2.py
Normal file
168
librespot/proto/spotify/login5/v3/challenges/hashcash_pb2.py
Normal file
@@ -0,0 +1,168 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: spotify/login5/v3/challenges/hashcash.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()
|
||||
|
||||
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='spotify/login5/v3/challenges/hashcash.proto',
|
||||
package='spotify.login5.v3.challenges',
|
||||
syntax='proto3',
|
||||
serialized_options=b'\n\024com.spotify.login5v3',
|
||||
create_key=_descriptor._internal_create_key,
|
||||
serialized_pb=
|
||||
b'\n+spotify/login5/v3/challenges/hashcash.proto\x12\x1cspotify.login5.v3.challenges\x1a\x1egoogle/protobuf/duration.proto\"3\n\x11HashcashChallenge\x12\x0e\n\x06prefix\x18\x01 \x01(\x0c\x12\x0e\n\x06length\x18\x02 \x01(\x05\"O\n\x10HashcashSolution\x12\x0e\n\x06suffix\x18\x01 \x01(\x0c\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x16\n\x14\x63om.spotify.login5v3b\x06proto3',
|
||||
dependencies=[
|
||||
google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,
|
||||
])
|
||||
|
||||
_HASHCASHCHALLENGE = _descriptor.Descriptor(
|
||||
name='HashcashChallenge',
|
||||
full_name='spotify.login5.v3.challenges.HashcashChallenge',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
create_key=_descriptor._internal_create_key,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='prefix',
|
||||
full_name='spotify.login5.v3.challenges.HashcashChallenge.prefix',
|
||||
index=0,
|
||||
number=1,
|
||||
type=12,
|
||||
cpp_type=9,
|
||||
label=1,
|
||||
has_default_value=False,
|
||||
default_value=b"",
|
||||
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='length',
|
||||
full_name='spotify.login5.v3.challenges.HashcashChallenge.length',
|
||||
index=1,
|
||||
number=2,
|
||||
type=5,
|
||||
cpp_type=1,
|
||||
label=1,
|
||||
has_default_value=False,
|
||||
default_value=0,
|
||||
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='proto3',
|
||||
extension_ranges=[],
|
||||
oneofs=[],
|
||||
serialized_start=109,
|
||||
serialized_end=160,
|
||||
)
|
||||
|
||||
_HASHCASHSOLUTION = _descriptor.Descriptor(
|
||||
name='HashcashSolution',
|
||||
full_name='spotify.login5.v3.challenges.HashcashSolution',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
create_key=_descriptor._internal_create_key,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='suffix',
|
||||
full_name='spotify.login5.v3.challenges.HashcashSolution.suffix',
|
||||
index=0,
|
||||
number=1,
|
||||
type=12,
|
||||
cpp_type=9,
|
||||
label=1,
|
||||
has_default_value=False,
|
||||
default_value=b"",
|
||||
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='duration',
|
||||
full_name='spotify.login5.v3.challenges.HashcashSolution.duration',
|
||||
index=1,
|
||||
number=2,
|
||||
type=11,
|
||||
cpp_type=10,
|
||||
label=1,
|
||||
has_default_value=False,
|
||||
default_value=None,
|
||||
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='proto3',
|
||||
extension_ranges=[],
|
||||
oneofs=[],
|
||||
serialized_start=162,
|
||||
serialized_end=241,
|
||||
)
|
||||
|
||||
_HASHCASHSOLUTION.fields_by_name[
|
||||
'duration'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
|
||||
DESCRIPTOR.message_types_by_name['HashcashChallenge'] = _HASHCASHCHALLENGE
|
||||
DESCRIPTOR.message_types_by_name['HashcashSolution'] = _HASHCASHSOLUTION
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
HashcashChallenge = _reflection.GeneratedProtocolMessageType(
|
||||
'HashcashChallenge',
|
||||
(_message.Message, ),
|
||||
{
|
||||
'DESCRIPTOR': _HASHCASHCHALLENGE,
|
||||
'__module__': 'spotify.login5.v3.challenges.hashcash_pb2'
|
||||
# @@protoc_insertion_point(class_scope:spotify.login5.v3.challenges.HashcashChallenge)
|
||||
})
|
||||
_sym_db.RegisterMessage(HashcashChallenge)
|
||||
|
||||
HashcashSolution = _reflection.GeneratedProtocolMessageType(
|
||||
'HashcashSolution',
|
||||
(_message.Message, ),
|
||||
{
|
||||
'DESCRIPTOR': _HASHCASHSOLUTION,
|
||||
'__module__': 'spotify.login5.v3.challenges.hashcash_pb2'
|
||||
# @@protoc_insertion_point(class_scope:spotify.login5.v3.challenges.HashcashSolution)
|
||||
})
|
||||
_sym_db.RegisterMessage(HashcashSolution)
|
||||
|
||||
DESCRIPTOR._options = None
|
||||
# @@protoc_insertion_point(module_scope)
|
||||
Reference in New Issue
Block a user