# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: post.proto # Protobuf Python Version: 6.31.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder _runtime_version.ValidateProtobufRuntimeVersion( _runtime_version.Domain.PUBLIC, 6, 31, 1, '', 'post.proto' ) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 from . import user_pb2 as user__pb2 from . import file_pb2 as file__pb2 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\npost.proto\x12\x17mattermost.pluginapi.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\nuser.proto\x1a\nfile.proto\"\xd3\x03\n\x0cPostMetadata\x12\x32\n\x06\x65mbeds\x18\x01 \x03(\x0b\x32\".mattermost.pluginapi.v1.PostEmbed\x12\x34\n\treactions\x18\x02 \x03(\x0b\x32!.mattermost.pluginapi.v1.Reaction\x12\x30\n\x05\x66iles\x18\x03 \x03(\x0b\x32!.mattermost.pluginapi.v1.FileInfo\x12\x41\n\x06images\x18\x04 \x03(\x0b\x32\x31.mattermost.pluginapi.v1.PostMetadata.ImagesEntry\x12<\n\x08priority\x18\x05 \x01(\x0b\x32%.mattermost.pluginapi.v1.PostPriorityH\x00\x88\x01\x01\x12\x46\n\x10\x61\x63knowledgements\x18\x06 \x03(\x0b\x32,.mattermost.pluginapi.v1.PostAcknowledgement\x1aQ\n\x0bImagesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".mattermost.pluginapi.v1.PostImage:\x02\x38\x01\x42\x0b\n\t_priority\"M\n\tPostEmbed\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12%\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"O\n\tPostImage\x12\r\n\x05width\x18\x01 \x01(\x05\x12\x0e\n\x06height\x18\x02 \x01(\x05\x12\x0e\n\x06\x66ormat\x18\x03 \x01(\t\x12\x13\n\x0b\x66rame_count\x18\x04 \x01(\x03\"\xa4\x01\n\x0cPostPriority\x12\x15\n\x08priority\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rrequested_ack\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12%\n\x18persistent_notifications\x18\x03 \x01(\x08H\x02\x88\x01\x01\x42\x0b\n\t_priorityB\x10\n\x0e_requested_ackB\x1b\n\x19_persistent_notifications\"P\n\x13PostAcknowledgement\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x0f\n\x07post_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63knowledged_at\x18\x03 \x01(\x03\"\xc7\x01\n\x08Reaction\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x0f\n\x07post_id\x18\x02 \x01(\t\x12\x12\n\nemoji_name\x18\x03 \x01(\t\x12\x11\n\tcreate_at\x18\x04 \x01(\x03\x12\x11\n\tupdate_at\x18\x05 \x01(\x03\x12\x11\n\tdelete_at\x18\x06 \x01(\x03\x12\x16\n\tremote_id\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nchannel_id\x18\x08 \x01(\tH\x01\x88\x01\x01\x42\x0c\n\n_remote_idB\r\n\x0b_channel_id\"\xeb\x04\n\x04Post\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tcreate_at\x18\x02 \x01(\x03\x12\x11\n\tupdate_at\x18\x03 \x01(\x03\x12\x0f\n\x07\x65\x64it_at\x18\x04 \x01(\x03\x12\x11\n\tdelete_at\x18\x05 \x01(\x03\x12\x11\n\tis_pinned\x18\x06 \x01(\x08\x12\x0f\n\x07user_id\x18\x07 \x01(\t\x12\x12\n\nchannel_id\x18\x08 \x01(\t\x12\x0f\n\x07root_id\x18\t \x01(\t\x12\x13\n\x0boriginal_id\x18\n \x01(\t\x12\x0f\n\x07message\x18\x0b \x01(\t\x12\x16\n\x0emessage_source\x18\x0c \x01(\t\x12\x0c\n\x04type\x18\r \x01(\t\x12&\n\x05props\x18\x0e \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x10\n\x08hashtags\x18\x0f \x01(\t\x12\x10\n\x08\x66ile_ids\x18\x10 \x03(\t\x12\x17\n\x0fpending_post_id\x18\x11 \x01(\t\x12\x15\n\rhas_reactions\x18\x12 \x01(\x08\x12\x16\n\tremote_id\x18\x13 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x0breply_count\x18\x14 \x01(\x03\x12\x15\n\rlast_reply_at\x18\x15 \x01(\x03\x12\x33\n\x0cparticipants\x18\x16 \x03(\x0b\x32\x1d.mattermost.pluginapi.v1.User\x12\x19\n\x0cis_following\x18\x17 \x01(\x08H\x01\x88\x01\x01\x12<\n\x08metadata\x18\x18 \x01(\x0b\x32%.mattermost.pluginapi.v1.PostMetadataH\x02\x88\x01\x01\x42\x0c\n\n_remote_idB\x0f\n\r_is_followingB\x0b\n\t_metadata\"\x87\x02\n\x08PostList\x12\r\n\x05order\x18\x01 \x03(\t\x12;\n\x05posts\x18\x02 \x03(\x0b\x32,.mattermost.pluginapi.v1.PostList.PostsEntry\x12\x14\n\x0cnext_post_id\x18\x03 \x01(\t\x12\x14\n\x0cprev_post_id\x18\x04 \x01(\t\x12$\n\x1c\x66irst_inaccessible_post_time\x18\x05 \x01(\x08\x12\x10\n\x08has_next\x18\x06 \x01(\x08\x1aK\n\nPostsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.mattermost.pluginapi.v1.Post:\x02\x38\x01\x42XZVgithub.com/mattermost/mattermost/server/public/pluginapi/grpc/generated/go/pluginapiv1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'post_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'ZVgithub.com/mattermost/mattermost/server/public/pluginapi/grpc/generated/go/pluginapiv1' _globals['_POSTMETADATA_IMAGESENTRY']._loaded_options = None _globals['_POSTMETADATA_IMAGESENTRY']._serialized_options = b'8\001' _globals['_POSTLIST_POSTSENTRY']._loaded_options = None _globals['_POSTLIST_POSTSENTRY']._serialized_options = b'8\001' _globals['_POSTMETADATA']._serialized_start=94 _globals['_POSTMETADATA']._serialized_end=561 _globals['_POSTMETADATA_IMAGESENTRY']._serialized_start=467 _globals['_POSTMETADATA_IMAGESENTRY']._serialized_end=548 _globals['_POSTEMBED']._serialized_start=563 _globals['_POSTEMBED']._serialized_end=640 _globals['_POSTIMAGE']._serialized_start=642 _globals['_POSTIMAGE']._serialized_end=721 _globals['_POSTPRIORITY']._serialized_start=724 _globals['_POSTPRIORITY']._serialized_end=888 _globals['_POSTACKNOWLEDGEMENT']._serialized_start=890 _globals['_POSTACKNOWLEDGEMENT']._serialized_end=970 _globals['_REACTION']._serialized_start=973 _globals['_REACTION']._serialized_end=1172 _globals['_POST']._serialized_start=1175 _globals['_POST']._serialized_end=1794 _globals['_POSTLIST']._serialized_start=1797 _globals['_POSTLIST']._serialized_end=2060 _globals['_POSTLIST_POSTSENTRY']._serialized_start=1985 _globals['_POSTLIST_POSTSENTRY']._serialized_end=2060 # @@protoc_insertion_point(module_scope)