mattermost/python-sdk/build/lib/mattermost_plugin/grpc/team_pb2.py
Nick Misasi 01643af641 debug: add extensive logging to trace hook registration flow
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>
2026-01-20 09:12:22 -05:00

43 lines
3.4 KiB
Python

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: team.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,
'',
'team.proto'
)
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nteam.proto\x12\x17mattermost.pluginapi.v1\"\xe1\x03\n\x04Team\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\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\r\n\x05\x65mail\x18\x08 \x01(\t\x12/\n\x04type\x18\t \x01(\x0e\x32!.mattermost.pluginapi.v1.TeamType\x12\x14\n\x0c\x63ompany_name\x18\n \x01(\t\x12\x17\n\x0f\x61llowed_domains\x18\x0b \x01(\t\x12\x11\n\tinvite_id\x18\x0c \x01(\t\x12\x19\n\x11\x61llow_open_invite\x18\r \x01(\x08\x12\x1d\n\x15last_team_icon_update\x18\x0e \x01(\x03\x12\x16\n\tscheme_id\x18\x0f \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11group_constrained\x18\x10 \x01(\x08H\x01\x88\x01\x01\x12\x16\n\tpolicy_id\x18\x11 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x15\x63loud_limits_archived\x18\x12 \x01(\x08\x42\x0c\n\n_scheme_idB\x14\n\x12_group_constrainedB\x0c\n\n_policy_id\"\xa4\x01\n\nTeamMember\x12\x0f\n\x07team_id\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\t\x12\r\n\x05roles\x18\x03 \x01(\t\x12\x11\n\tdelete_at\x18\x04 \x01(\x03\x12\x14\n\x0cscheme_guest\x18\x05 \x01(\x08\x12\x13\n\x0bscheme_user\x18\x06 \x01(\x08\x12\x14\n\x0cscheme_admin\x18\x07 \x01(\x08\x12\x11\n\tcreate_at\x18\x08 \x01(\x03\"\xaf\x01\n\nTeamUnread\x12\x0f\n\x07team_id\x18\x01 \x01(\t\x12\x11\n\tmsg_count\x18\x02 \x01(\x03\x12\x15\n\rmention_count\x18\x03 \x01(\x03\x12\x1a\n\x12mention_count_root\x18\x04 \x01(\x03\x12\x16\n\x0emsg_count_root\x18\x05 \x01(\x03\x12\x14\n\x0cthread_count\x18\x06 \x01(\x03\x12\x1c\n\x14thread_mention_count\x18\x07 \x01(\x03*O\n\x08TeamType\x12\x19\n\x15TEAM_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eTEAM_TYPE_OPEN\x10\x01\x12\x14\n\x10TEAM_TYPE_INVITE\x10\x02\x42XZVgithub.com/mattermost/mattermost/server/public/pluginapi/grpc/generated/go/pluginapiv1b\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'team_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['_TEAMTYPE']._serialized_start=868
_globals['_TEAMTYPE']._serialized_end=947
_globals['_TEAM']._serialized_start=40
_globals['_TEAM']._serialized_end=521
_globals['_TEAMMEMBER']._serialized_start=524
_globals['_TEAMMEMBER']._serialized_end=688
_globals['_TEAMUNREAD']._serialized_start=691
_globals['_TEAMUNREAD']._serialized_end=866
# @@protoc_insertion_point(module_scope)