mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
Go side: - Log hooks returned by Implemented() - Log each hook name -> ID mapping - Log OnActivate implementation status - Log OnActivate call flow Python side: - Log Implemented() return value - Log OnActivate gRPC receipt and handler invocation This is temporary debug logging to diagnose why OnActivate isn't being called for Python plugins. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
42 lines
3.7 KiB
Python
42 lines
3.7 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: channel.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,
|
|
'',
|
|
'channel.proto'
|
|
)
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rchannel.proto\x12\x17mattermost.pluginapi.v1\x1a\x1cgoogle/protobuf/struct.proto\"\x85\x01\n\x11\x43hannelBannerInfo\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x11\n\x04text\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x1d\n\x10\x62\x61\x63kground_color\x18\x03 \x01(\tH\x02\x88\x01\x01\x42\n\n\x08_enabledB\x07\n\x05_textB\x13\n\x11_background_color\"\xf9\x05\n\x07\x43hannel\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\x11\n\tdelete_at\x18\x04 \x01(\x03\x12\x0f\n\x07team_id\x18\x05 \x01(\t\x12\x32\n\x04type\x18\x06 \x01(\x0e\x32$.mattermost.pluginapi.v1.ChannelType\x12\x14\n\x0c\x64isplay_name\x18\x07 \x01(\t\x12\x0c\n\x04name\x18\x08 \x01(\t\x12\x0e\n\x06header\x18\t \x01(\t\x12\x0f\n\x07purpose\x18\n \x01(\t\x12\x14\n\x0clast_post_at\x18\x0b \x01(\x03\x12\x17\n\x0ftotal_msg_count\x18\x0c \x01(\x03\x12\x17\n\x0f\x65xtra_update_at\x18\r \x01(\x03\x12\x12\n\ncreator_id\x18\x0e \x01(\t\x12\x16\n\tscheme_id\x18\x0f \x01(\tH\x00\x88\x01\x01\x12&\n\x05props\x18\x10 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1e\n\x11group_constrained\x18\x11 \x01(\x08H\x01\x88\x01\x01\x12\x18\n\x10\x61uto_translation\x18\x12 \x01(\x08\x12\x13\n\x06shared\x18\x13 \x01(\x08H\x02\x88\x01\x01\x12\x1c\n\x14total_msg_count_root\x18\x14 \x01(\x03\x12\x16\n\tpolicy_id\x18\x15 \x01(\tH\x03\x88\x01\x01\x12\x19\n\x11last_root_post_at\x18\x16 \x01(\x03\x12\x44\n\x0b\x62\x61nner_info\x18\x17 \x01(\x0b\x32*.mattermost.pluginapi.v1.ChannelBannerInfoH\x04\x88\x01\x01\x12\x17\n\x0fpolicy_enforced\x18\x18 \x01(\x08\x12\x18\n\x10policy_is_active\x18\x19 \x01(\x08\x12\x1d\n\x15\x64\x65\x66\x61ult_category_name\x18\x1a \x01(\tB\x0c\n\n_scheme_idB\x14\n\x12_group_constrainedB\t\n\x07_sharedB\x0c\n\n_policy_idB\x0e\n\x0c_banner_info*\x8d\x01\n\x0b\x43hannelType\x12\x1c\n\x18\x43HANNEL_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43HANNEL_TYPE_OPEN\x10\x01\x12\x18\n\x14\x43HANNEL_TYPE_PRIVATE\x10\x02\x12\x17\n\x13\x43HANNEL_TYPE_DIRECT\x10\x03\x12\x16\n\x12\x43HANNEL_TYPE_GROUP\x10\x04\x42XZVgithub.com/mattermost/mattermost/server/public/pluginapi/grpc/generated/go/pluginapiv1b\x06proto3')
|
|
|
|
_globals = globals()
|
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'channel_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['_CHANNELTYPE']._serialized_start=973
|
|
_globals['_CHANNELTYPE']._serialized_end=1114
|
|
_globals['_CHANNELBANNERINFO']._serialized_start=73
|
|
_globals['_CHANNELBANNERINFO']._serialized_end=206
|
|
_globals['_CHANNEL']._serialized_start=209
|
|
_globals['_CHANNEL']._serialized_end=970
|
|
# @@protoc_insertion_point(module_scope)
|