mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-21 17:17:47 +01:00
681817ceae
GitOrigin-RevId: 83514338be1d662518bab9fe5ab6eefef98f229f
529 lines
24 KiB
Python
Executable File
529 lines
24 KiB
Python
Executable File
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: idm/api2/proto/chats_service.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 idm.api2.proto import \
|
|
location_pb2 as idm_dot_api2_dot_proto_dot_location__pb2
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor(
|
|
name='idm/api2/proto/chats_service.proto',
|
|
package='idm.api2.proto',
|
|
syntax='proto3',
|
|
serialized_options=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
serialized_pb=b'\n\"idm/api2/proto/chats_service.proto\x12\x0eidm.api2.proto\x1a\x1didm/api2/proto/location.proto\"\xf2\x01\n\x08\x43hatData\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x10\n\x08username\x18\x02 \x01(\t\x12\x10\n\x08language\x18\x03 \x01(\t\x12#\n\x1bis_system_messaging_enabled\x18\x04 \x01(\x08\x12\x1c\n\x14is_discovery_enabled\x18\x05 \x01(\x08\x12\x11\n\tban_until\x18\x06 \x01(\x05\x12\x13\n\x0b\x62\x61n_message\x18\x07 \x01(\t\x12\x10\n\x08is_admin\x18\x08 \x01(\x08\x12\x0e\n\x06tzinfo\x18\t \x01(\t\x12\x15\n\ris_subscribed\x18\n \x01(\x08\x12\x12\n\ncreated_at\x18\x0b \x01(\x03\"4\n\tChatsData\x12\'\n\x05\x63hats\x18\x01 \x03(\x0b\x32\x18.idm.api2.proto.ChatData\"H\n\x11\x43reateChatRequest\x12\x0f\n\x07\x63hat_id\x18\x01 \x01(\x03\x12\x10\n\x08username\x18\x02 \x01(\t\x12\x10\n\x08language\x18\x03 \x01(\t\"!\n\x0eGetChatRequest\x12\x0f\n\x07\x63hat_id\x18\x01 \x01(\x03\"H\n\x10ListChatsRequest\x12\x1a\n\x10\x62\x61nned_at_moment\x18\x01 \x01(\x05H\x00\x42\x18\n\x16\x62\x61nned_at_moment_oneof\"\x98\x03\n\x11UpdateChatRequest\x12\x0f\n\x07\x63hat_id\x18\x01 \x01(\x03\x12\x12\n\x08language\x18\x02 \x01(\tH\x00\x12%\n\x1bis_system_messaging_enabled\x18\x03 \x01(\x08H\x01\x12\x1e\n\x14is_discovery_enabled\x18\x04 \x01(\x08H\x02\x12\x13\n\tban_until\x18\x05 \x01(\x05H\x03\x12\x15\n\x0b\x62\x61n_message\x18\x06 \x01(\tH\x04\x12\x12\n\x08is_admin\x18\x07 \x01(\x08H\x05\x12\x31\n\rlast_location\x18\x08 \x01(\x0b\x32\x18.idm.api2.proto.LocationH\x06\x42\x10\n\x0elanguage_oneofB#\n!is_system_messaging_enabled_oneofB\x1c\n\x1ais_discovery_enabled_oneofB\x11\n\x0f\x62\x61n_until_oneofB\x13\n\x11\x62\x61n_message_oneofB\x10\n\x0eis_admin_oneofB\x15\n\x13last_location_oneof2\xb8\x02\n\x05\x43hats\x12L\n\x0b\x63reate_chat\x12!.idm.api2.proto.CreateChatRequest\x1a\x18.idm.api2.proto.ChatData\"\x00\x12\x46\n\x08get_chat\x12\x1e.idm.api2.proto.GetChatRequest\x1a\x18.idm.api2.proto.ChatData\"\x00\x12K\n\nlist_chats\x12 .idm.api2.proto.ListChatsRequest\x1a\x19.idm.api2.proto.ChatsData\"\x00\x12L\n\x0bupdate_chat\x12!.idm.api2.proto.UpdateChatRequest\x1a\x18.idm.api2.proto.ChatData\"\x00\x62\x06proto3'
|
|
,
|
|
dependencies=[idm_dot_api2_dot_proto_dot_location__pb2.DESCRIPTOR,])
|
|
|
|
|
|
|
|
|
|
_CHATDATA = _descriptor.Descriptor(
|
|
name='ChatData',
|
|
full_name='idm.api2.proto.ChatData',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='id', full_name='idm.api2.proto.ChatData.id', index=0,
|
|
number=1, type=3, cpp_type=2, 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='username', full_name='idm.api2.proto.ChatData.username', index=1,
|
|
number=2, 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),
|
|
_descriptor.FieldDescriptor(
|
|
name='language', full_name='idm.api2.proto.ChatData.language', index=2,
|
|
number=3, 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),
|
|
_descriptor.FieldDescriptor(
|
|
name='is_system_messaging_enabled', full_name='idm.api2.proto.ChatData.is_system_messaging_enabled', index=3,
|
|
number=4, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
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='is_discovery_enabled', full_name='idm.api2.proto.ChatData.is_discovery_enabled', index=4,
|
|
number=5, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
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='ban_until', full_name='idm.api2.proto.ChatData.ban_until', index=5,
|
|
number=6, 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='ban_message', full_name='idm.api2.proto.ChatData.ban_message', index=6,
|
|
number=7, 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),
|
|
_descriptor.FieldDescriptor(
|
|
name='is_admin', full_name='idm.api2.proto.ChatData.is_admin', index=7,
|
|
number=8, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
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='tzinfo', full_name='idm.api2.proto.ChatData.tzinfo', index=8,
|
|
number=9, 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),
|
|
_descriptor.FieldDescriptor(
|
|
name='is_subscribed', full_name='idm.api2.proto.ChatData.is_subscribed', index=9,
|
|
number=10, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
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='created_at', full_name='idm.api2.proto.ChatData.created_at', index=10,
|
|
number=11, type=3, cpp_type=2, 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=86,
|
|
serialized_end=328,
|
|
)
|
|
|
|
|
|
_CHATSDATA = _descriptor.Descriptor(
|
|
name='ChatsData',
|
|
full_name='idm.api2.proto.ChatsData',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='chats', full_name='idm.api2.proto.ChatsData.chats', index=0,
|
|
number=1, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
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=330,
|
|
serialized_end=382,
|
|
)
|
|
|
|
|
|
_CREATECHATREQUEST = _descriptor.Descriptor(
|
|
name='CreateChatRequest',
|
|
full_name='idm.api2.proto.CreateChatRequest',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='chat_id', full_name='idm.api2.proto.CreateChatRequest.chat_id', index=0,
|
|
number=1, type=3, cpp_type=2, 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='username', full_name='idm.api2.proto.CreateChatRequest.username', index=1,
|
|
number=2, 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),
|
|
_descriptor.FieldDescriptor(
|
|
name='language', full_name='idm.api2.proto.CreateChatRequest.language', index=2,
|
|
number=3, 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=384,
|
|
serialized_end=456,
|
|
)
|
|
|
|
|
|
_GETCHATREQUEST = _descriptor.Descriptor(
|
|
name='GetChatRequest',
|
|
full_name='idm.api2.proto.GetChatRequest',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='chat_id', full_name='idm.api2.proto.GetChatRequest.chat_id', index=0,
|
|
number=1, type=3, cpp_type=2, 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=458,
|
|
serialized_end=491,
|
|
)
|
|
|
|
|
|
_LISTCHATSREQUEST = _descriptor.Descriptor(
|
|
name='ListChatsRequest',
|
|
full_name='idm.api2.proto.ListChatsRequest',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='banned_at_moment', full_name='idm.api2.proto.ListChatsRequest.banned_at_moment', index=0,
|
|
number=1, 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=[
|
|
_descriptor.OneofDescriptor(
|
|
name='banned_at_moment_oneof', full_name='idm.api2.proto.ListChatsRequest.banned_at_moment_oneof',
|
|
index=0, containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[]),
|
|
],
|
|
serialized_start=493,
|
|
serialized_end=565,
|
|
)
|
|
|
|
|
|
_UPDATECHATREQUEST = _descriptor.Descriptor(
|
|
name='UpdateChatRequest',
|
|
full_name='idm.api2.proto.UpdateChatRequest',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='chat_id', full_name='idm.api2.proto.UpdateChatRequest.chat_id', index=0,
|
|
number=1, type=3, cpp_type=2, 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='language', full_name='idm.api2.proto.UpdateChatRequest.language', index=1,
|
|
number=2, 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),
|
|
_descriptor.FieldDescriptor(
|
|
name='is_system_messaging_enabled', full_name='idm.api2.proto.UpdateChatRequest.is_system_messaging_enabled', index=2,
|
|
number=3, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
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='is_discovery_enabled', full_name='idm.api2.proto.UpdateChatRequest.is_discovery_enabled', index=3,
|
|
number=4, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
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='ban_until', full_name='idm.api2.proto.UpdateChatRequest.ban_until', index=4,
|
|
number=5, 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='ban_message', full_name='idm.api2.proto.UpdateChatRequest.ban_message', index=5,
|
|
number=6, 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),
|
|
_descriptor.FieldDescriptor(
|
|
name='is_admin', full_name='idm.api2.proto.UpdateChatRequest.is_admin', index=6,
|
|
number=7, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
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='last_location', full_name='idm.api2.proto.UpdateChatRequest.last_location', index=7,
|
|
number=8, 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=[
|
|
_descriptor.OneofDescriptor(
|
|
name='language_oneof', full_name='idm.api2.proto.UpdateChatRequest.language_oneof',
|
|
index=0, containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[]),
|
|
_descriptor.OneofDescriptor(
|
|
name='is_system_messaging_enabled_oneof', full_name='idm.api2.proto.UpdateChatRequest.is_system_messaging_enabled_oneof',
|
|
index=1, containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[]),
|
|
_descriptor.OneofDescriptor(
|
|
name='is_discovery_enabled_oneof', full_name='idm.api2.proto.UpdateChatRequest.is_discovery_enabled_oneof',
|
|
index=2, containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[]),
|
|
_descriptor.OneofDescriptor(
|
|
name='ban_until_oneof', full_name='idm.api2.proto.UpdateChatRequest.ban_until_oneof',
|
|
index=3, containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[]),
|
|
_descriptor.OneofDescriptor(
|
|
name='ban_message_oneof', full_name='idm.api2.proto.UpdateChatRequest.ban_message_oneof',
|
|
index=4, containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[]),
|
|
_descriptor.OneofDescriptor(
|
|
name='is_admin_oneof', full_name='idm.api2.proto.UpdateChatRequest.is_admin_oneof',
|
|
index=5, containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[]),
|
|
_descriptor.OneofDescriptor(
|
|
name='last_location_oneof', full_name='idm.api2.proto.UpdateChatRequest.last_location_oneof',
|
|
index=6, containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[]),
|
|
],
|
|
serialized_start=568,
|
|
serialized_end=976,
|
|
)
|
|
|
|
_CHATSDATA.fields_by_name['chats'].message_type = _CHATDATA
|
|
_LISTCHATSREQUEST.oneofs_by_name['banned_at_moment_oneof'].fields.append(
|
|
_LISTCHATSREQUEST.fields_by_name['banned_at_moment'])
|
|
_LISTCHATSREQUEST.fields_by_name['banned_at_moment'].containing_oneof = _LISTCHATSREQUEST.oneofs_by_name['banned_at_moment_oneof']
|
|
_UPDATECHATREQUEST.fields_by_name['last_location'].message_type = idm_dot_api2_dot_proto_dot_location__pb2._LOCATION
|
|
_UPDATECHATREQUEST.oneofs_by_name['language_oneof'].fields.append(
|
|
_UPDATECHATREQUEST.fields_by_name['language'])
|
|
_UPDATECHATREQUEST.fields_by_name['language'].containing_oneof = _UPDATECHATREQUEST.oneofs_by_name['language_oneof']
|
|
_UPDATECHATREQUEST.oneofs_by_name['is_system_messaging_enabled_oneof'].fields.append(
|
|
_UPDATECHATREQUEST.fields_by_name['is_system_messaging_enabled'])
|
|
_UPDATECHATREQUEST.fields_by_name['is_system_messaging_enabled'].containing_oneof = _UPDATECHATREQUEST.oneofs_by_name['is_system_messaging_enabled_oneof']
|
|
_UPDATECHATREQUEST.oneofs_by_name['is_discovery_enabled_oneof'].fields.append(
|
|
_UPDATECHATREQUEST.fields_by_name['is_discovery_enabled'])
|
|
_UPDATECHATREQUEST.fields_by_name['is_discovery_enabled'].containing_oneof = _UPDATECHATREQUEST.oneofs_by_name['is_discovery_enabled_oneof']
|
|
_UPDATECHATREQUEST.oneofs_by_name['ban_until_oneof'].fields.append(
|
|
_UPDATECHATREQUEST.fields_by_name['ban_until'])
|
|
_UPDATECHATREQUEST.fields_by_name['ban_until'].containing_oneof = _UPDATECHATREQUEST.oneofs_by_name['ban_until_oneof']
|
|
_UPDATECHATREQUEST.oneofs_by_name['ban_message_oneof'].fields.append(
|
|
_UPDATECHATREQUEST.fields_by_name['ban_message'])
|
|
_UPDATECHATREQUEST.fields_by_name['ban_message'].containing_oneof = _UPDATECHATREQUEST.oneofs_by_name['ban_message_oneof']
|
|
_UPDATECHATREQUEST.oneofs_by_name['is_admin_oneof'].fields.append(
|
|
_UPDATECHATREQUEST.fields_by_name['is_admin'])
|
|
_UPDATECHATREQUEST.fields_by_name['is_admin'].containing_oneof = _UPDATECHATREQUEST.oneofs_by_name['is_admin_oneof']
|
|
_UPDATECHATREQUEST.oneofs_by_name['last_location_oneof'].fields.append(
|
|
_UPDATECHATREQUEST.fields_by_name['last_location'])
|
|
_UPDATECHATREQUEST.fields_by_name['last_location'].containing_oneof = _UPDATECHATREQUEST.oneofs_by_name['last_location_oneof']
|
|
DESCRIPTOR.message_types_by_name['ChatData'] = _CHATDATA
|
|
DESCRIPTOR.message_types_by_name['ChatsData'] = _CHATSDATA
|
|
DESCRIPTOR.message_types_by_name['CreateChatRequest'] = _CREATECHATREQUEST
|
|
DESCRIPTOR.message_types_by_name['GetChatRequest'] = _GETCHATREQUEST
|
|
DESCRIPTOR.message_types_by_name['ListChatsRequest'] = _LISTCHATSREQUEST
|
|
DESCRIPTOR.message_types_by_name['UpdateChatRequest'] = _UPDATECHATREQUEST
|
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
|
|
|
ChatData = _reflection.GeneratedProtocolMessageType('ChatData', (_message.Message,), {
|
|
'DESCRIPTOR' : _CHATDATA,
|
|
'__module__' : 'idm.api2.proto.chats_service_pb2'
|
|
# @@protoc_insertion_point(class_scope:idm.api2.proto.ChatData)
|
|
})
|
|
_sym_db.RegisterMessage(ChatData)
|
|
|
|
ChatsData = _reflection.GeneratedProtocolMessageType('ChatsData', (_message.Message,), {
|
|
'DESCRIPTOR' : _CHATSDATA,
|
|
'__module__' : 'idm.api2.proto.chats_service_pb2'
|
|
# @@protoc_insertion_point(class_scope:idm.api2.proto.ChatsData)
|
|
})
|
|
_sym_db.RegisterMessage(ChatsData)
|
|
|
|
CreateChatRequest = _reflection.GeneratedProtocolMessageType('CreateChatRequest', (_message.Message,), {
|
|
'DESCRIPTOR' : _CREATECHATREQUEST,
|
|
'__module__' : 'idm.api2.proto.chats_service_pb2'
|
|
# @@protoc_insertion_point(class_scope:idm.api2.proto.CreateChatRequest)
|
|
})
|
|
_sym_db.RegisterMessage(CreateChatRequest)
|
|
|
|
GetChatRequest = _reflection.GeneratedProtocolMessageType('GetChatRequest', (_message.Message,), {
|
|
'DESCRIPTOR' : _GETCHATREQUEST,
|
|
'__module__' : 'idm.api2.proto.chats_service_pb2'
|
|
# @@protoc_insertion_point(class_scope:idm.api2.proto.GetChatRequest)
|
|
})
|
|
_sym_db.RegisterMessage(GetChatRequest)
|
|
|
|
ListChatsRequest = _reflection.GeneratedProtocolMessageType('ListChatsRequest', (_message.Message,), {
|
|
'DESCRIPTOR' : _LISTCHATSREQUEST,
|
|
'__module__' : 'idm.api2.proto.chats_service_pb2'
|
|
# @@protoc_insertion_point(class_scope:idm.api2.proto.ListChatsRequest)
|
|
})
|
|
_sym_db.RegisterMessage(ListChatsRequest)
|
|
|
|
UpdateChatRequest = _reflection.GeneratedProtocolMessageType('UpdateChatRequest', (_message.Message,), {
|
|
'DESCRIPTOR' : _UPDATECHATREQUEST,
|
|
'__module__' : 'idm.api2.proto.chats_service_pb2'
|
|
# @@protoc_insertion_point(class_scope:idm.api2.proto.UpdateChatRequest)
|
|
})
|
|
_sym_db.RegisterMessage(UpdateChatRequest)
|
|
|
|
|
|
|
|
_CHATS = _descriptor.ServiceDescriptor(
|
|
name='Chats',
|
|
full_name='idm.api2.proto.Chats',
|
|
file=DESCRIPTOR,
|
|
index=0,
|
|
serialized_options=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
serialized_start=979,
|
|
serialized_end=1291,
|
|
methods=[
|
|
_descriptor.MethodDescriptor(
|
|
name='create_chat',
|
|
full_name='idm.api2.proto.Chats.create_chat',
|
|
index=0,
|
|
containing_service=None,
|
|
input_type=_CREATECHATREQUEST,
|
|
output_type=_CHATDATA,
|
|
serialized_options=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
),
|
|
_descriptor.MethodDescriptor(
|
|
name='get_chat',
|
|
full_name='idm.api2.proto.Chats.get_chat',
|
|
index=1,
|
|
containing_service=None,
|
|
input_type=_GETCHATREQUEST,
|
|
output_type=_CHATDATA,
|
|
serialized_options=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
),
|
|
_descriptor.MethodDescriptor(
|
|
name='list_chats',
|
|
full_name='idm.api2.proto.Chats.list_chats',
|
|
index=2,
|
|
containing_service=None,
|
|
input_type=_LISTCHATSREQUEST,
|
|
output_type=_CHATSDATA,
|
|
serialized_options=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
),
|
|
_descriptor.MethodDescriptor(
|
|
name='update_chat',
|
|
full_name='idm.api2.proto.Chats.update_chat',
|
|
index=3,
|
|
containing_service=None,
|
|
input_type=_UPDATECHATREQUEST,
|
|
output_type=_CHATDATA,
|
|
serialized_options=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
),
|
|
])
|
|
_sym_db.RegisterServiceDescriptor(_CHATS)
|
|
|
|
DESCRIPTOR.services_by_name['Chats'] = _CHATS
|
|
|
|
# @@protoc_insertion_point(module_scope)
|