external_identities_pb2.py 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # NO CHECKED-IN PROTOBUF GENCODE
  4. # source: chatto/api/v1/external_identities.proto
  5. # Protobuf Python Version: 7.34.1
  6. """Generated protocol buffer code."""
  7. from google.protobuf import descriptor as _descriptor
  8. from google.protobuf import descriptor_pool as _descriptor_pool
  9. from google.protobuf import runtime_version as _runtime_version
  10. from google.protobuf import symbol_database as _symbol_database
  11. from google.protobuf.internal import builder as _builder
  12. _runtime_version.ValidateProtobufRuntimeVersion(
  13. _runtime_version.Domain.PUBLIC,
  14. 7,
  15. 34,
  16. 1,
  17. '',
  18. 'chatto/api/v1/external_identities.proto'
  19. )
  20. # @@protoc_insertion_point(imports)
  21. _sym_db = _symbol_database.Default()
  22. from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
  23. from chatto.api.v1 import common_pb2 as chatto_dot_api_dot_v1_dot_common__pb2
  24. DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'chatto/api/v1/external_identities.proto\x12\rchatto.api.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1a\x63hatto/api/v1/common.proto\"\xb7\x01\n\x18\x45xternalIdentityProvider\x12\x10\n\x08link_url\x18\x05 \x01(\t\x12\x0e\n\x06linked\x18\x06 \x01(\x08\x12$\n\x1clinked_identity_subject_hash\x18\x07 \x01(\t\x12\x31\n\x08provider\x18\x08 \x01(\x0b\x32\x1f.chatto.api.v1.ProviderMetadataJ\x04\x08\x01\x10\x05R\x02idR\x04typeR\x05labelR\tlogin_url\"r\n\x16LinkedExternalIdentity\x12\x13\n\x0bprovider_id\x18\x01 \x01(\t\x12\x15\n\rprovider_type\x18\x02 \x01(\t\x12\x16\n\x0eprovider_label\x18\x03 \x01(\t\x12\x14\n\x0csubject_hash\x18\x04 \x01(\t\"\x1f\n\x1dListExternalIdentitiesRequest\"\x9e\x01\n\x1eListExternalIdentitiesResponse\x12:\n\tproviders\x18\x01 \x03(\x0b\x32\'.chatto.api.v1.ExternalIdentityProvider\x12@\n\x11linked_identities\x18\x02 \x03(\x0b\x32%.chatto.api.v1.LinkedExternalIdentity\"q\n StartExternalIdentityLinkRequest\x12\x1c\n\x0bprovider_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12\x15\n\rredirect_path\x18\x02 \x01(\t\x12\x18\n\x10\x63urrent_password\x18\x03 \x01(\t\"6\n!StartExternalIdentityLinkResponse\x12\x11\n\tstart_url\x18\x01 \x01(\t\"\\\n!DisconnectExternalIdentityRequest\x12\x1d\n\x0csubject_hash\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12\x18\n\x10\x63urrent_password\x18\x02 \x01(\t\":\n\"DisconnectExternalIdentityResponse\x12\x14\n\x0c\x64isconnected\x18\x01 \x01(\x08\x62\x06proto3')
  25. _globals = globals()
  26. _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
  27. _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.api.v1.external_identities_pb2', _globals)
  28. if not _descriptor._USE_C_DESCRIPTORS:
  29. DESCRIPTOR._loaded_options = None
  30. _globals['_STARTEXTERNALIDENTITYLINKREQUEST'].fields_by_name['provider_id']._loaded_options = None
  31. _globals['_STARTEXTERNALIDENTITYLINKREQUEST'].fields_by_name['provider_id']._serialized_options = b'\272H\004r\002\020\001'
  32. _globals['_DISCONNECTEXTERNALIDENTITYREQUEST'].fields_by_name['subject_hash']._loaded_options = None
  33. _globals['_DISCONNECTEXTERNALIDENTITYREQUEST'].fields_by_name['subject_hash']._serialized_options = b'\272H\004r\002\020\001'
  34. _globals['_EXTERNALIDENTITYPROVIDER']._serialized_start=116
  35. _globals['_EXTERNALIDENTITYPROVIDER']._serialized_end=299
  36. _globals['_LINKEDEXTERNALIDENTITY']._serialized_start=301
  37. _globals['_LINKEDEXTERNALIDENTITY']._serialized_end=415
  38. _globals['_LISTEXTERNALIDENTITIESREQUEST']._serialized_start=417
  39. _globals['_LISTEXTERNALIDENTITIESREQUEST']._serialized_end=448
  40. _globals['_LISTEXTERNALIDENTITIESRESPONSE']._serialized_start=451
  41. _globals['_LISTEXTERNALIDENTITIESRESPONSE']._serialized_end=609
  42. _globals['_STARTEXTERNALIDENTITYLINKREQUEST']._serialized_start=611
  43. _globals['_STARTEXTERNALIDENTITYLINKREQUEST']._serialized_end=724
  44. _globals['_STARTEXTERNALIDENTITYLINKRESPONSE']._serialized_start=726
  45. _globals['_STARTEXTERNALIDENTITYLINKRESPONSE']._serialized_end=780
  46. _globals['_DISCONNECTEXTERNALIDENTITYREQUEST']._serialized_start=782
  47. _globals['_DISCONNECTEXTERNALIDENTITYREQUEST']._serialized_end=874
  48. _globals['_DISCONNECTEXTERNALIDENTITYRESPONSE']._serialized_start=876
  49. _globals['_DISCONNECTEXTERNALIDENTITYRESPONSE']._serialized_end=934
  50. # @@protoc_insertion_point(module_scope)