-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcast_channel_pb2.py
44 lines (37 loc) · 3.77 KB
/
cast_channel_pb2.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: cast_channel.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12\x63\x61st_channel.proto\x12\x0c\x63\x61st.channel\"\xa2\x03\n\x0b\x43\x61stMessage\x12\x43\n\x10protocol_version\x18\x01 \x02(\x0e\x32).cast.channel.CastMessage.ProtocolVersion\x12\x11\n\tsource_id\x18\x02 \x02(\t\x12\x16\n\x0e\x64\x65stination_id\x18\x03 \x02(\t\x12\x11\n\tnamespace\x18\x04 \x02(\t\x12;\n\x0cpayload_type\x18\x05 \x02(\x0e\x32%.cast.channel.CastMessage.PayloadType\x12\x14\n\x0cpayload_utf8\x18\x06 \x01(\t\x12\x16\n\x0epayload_binary\x18\x07 \x01(\x0c\x12\x11\n\tcontinued\x18\x08 \x01(\x08\x12\x18\n\x10remaining_length\x18\t \x01(\r\"Q\n\x0fProtocolVersion\x12\x0e\n\nCASTV2_1_0\x10\x00\x12\x0e\n\nCASTV2_1_1\x10\x01\x12\x0e\n\nCASTV2_1_2\x10\x02\x12\x0e\n\nCASTV2_1_3\x10\x03\"%\n\x0bPayloadType\x12\n\n\x06STRING\x10\x00\x12\n\n\x06\x42INARY\x10\x01\"\xb0\x01\n\rAuthChallenge\x12N\n\x13signature_algorithm\x18\x01 \x01(\x0e\x32 .cast.channel.SignatureAlgorithm:\x0fRSASSA_PKCS1v15\x12\x14\n\x0csender_nonce\x18\x02 \x01(\x0c\x12\x39\n\x0ehash_algorithm\x18\x03 \x01(\x0e\x32\x1b.cast.channel.HashAlgorithm:\x04SHA1\"\x92\x02\n\x0c\x41uthResponse\x12\x11\n\tsignature\x18\x01 \x02(\x0c\x12\x1f\n\x17\x63lient_auth_certificate\x18\x02 \x02(\x0c\x12 \n\x18intermediate_certificate\x18\x03 \x03(\x0c\x12N\n\x13signature_algorithm\x18\x04 \x01(\x0e\x32 .cast.channel.SignatureAlgorithm:\x0fRSASSA_PKCS1v15\x12\x14\n\x0csender_nonce\x18\x05 \x01(\x0c\x12\x39\n\x0ehash_algorithm\x18\x06 \x01(\x0e\x32\x1b.cast.channel.HashAlgorithm:\x04SHA1\x12\x0b\n\x03\x63rl\x18\x07 \x01(\x0c\"\x94\x01\n\tAuthError\x12\x35\n\nerror_type\x18\x01 \x02(\x0e\x32!.cast.channel.AuthError.ErrorType\"P\n\tErrorType\x12\x12\n\x0eINTERNAL_ERROR\x10\x00\x12\n\n\x06NO_TLS\x10\x01\x12#\n\x1fSIGNATURE_ALGORITHM_UNAVAILABLE\x10\x02\"\x99\x01\n\x11\x44\x65viceAuthMessage\x12.\n\tchallenge\x18\x01 \x01(\x0b\x32\x1b.cast.channel.AuthChallenge\x12,\n\x08response\x18\x02 \x01(\x0b\x32\x1a.cast.channel.AuthResponse\x12&\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x17.cast.channel.AuthError*J\n\x12SignatureAlgorithm\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x13\n\x0fRSASSA_PKCS1v15\x10\x01\x12\x0e\n\nRSASSA_PSS\x10\x02*%\n\rHashAlgorithm\x12\x08\n\x04SHA1\x10\x00\x12\n\n\x06SHA256\x10\x01\x42\x02H\x03')
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cast_channel_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'H\003'
_SIGNATUREALGORITHM._serialized_start=1220
_SIGNATUREALGORITHM._serialized_end=1294
_HASHALGORITHM._serialized_start=1296
_HASHALGORITHM._serialized_end=1333
_CASTMESSAGE._serialized_start=37
_CASTMESSAGE._serialized_end=455
_CASTMESSAGE_PROTOCOLVERSION._serialized_start=335
_CASTMESSAGE_PROTOCOLVERSION._serialized_end=416
_CASTMESSAGE_PAYLOADTYPE._serialized_start=418
_CASTMESSAGE_PAYLOADTYPE._serialized_end=455
_AUTHCHALLENGE._serialized_start=458
_AUTHCHALLENGE._serialized_end=634
_AUTHRESPONSE._serialized_start=637
_AUTHRESPONSE._serialized_end=911
_AUTHERROR._serialized_start=914
_AUTHERROR._serialized_end=1062
_AUTHERROR_ERRORTYPE._serialized_start=982
_AUTHERROR_ERRORTYPE._serialized_end=1062
_DEVICEAUTHMESSAGE._serialized_start=1065
_DEVICEAUTHMESSAGE._serialized_end=1218
# @@protoc_insertion_point(module_scope)