mattermost/python-sdk/build/lib/mattermost_plugin/grpc/hooks_command_pb2.py

91 lines
10 KiB
Python
Raw Permalink Normal View History

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: hooks_command.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,
'',
'hooks_command.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 common_pb2 as common__pb2
from . import hooks_common_pb2 as hooks__common__pb2
from . import api_remaining_pb2 as api__remaining__pb2
from . import file_pb2 as file__pb2
from . import post_pb2 as post__pb2
from . import user_pb2 as user__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13hooks_command.proto\x12\x17mattermost.pluginapi.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x0c\x63ommon.proto\x1a\x12hooks_common.proto\x1a\x13\x61pi_remaining.proto\x1a\nfile.proto\x1a\npost.proto\x1a\nuser.proto\"V\n\x10WebSocketRequest\x12\x0b\n\x03seq\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\t\x12%\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"$\n\x0bSyncMsgJson\x12\x15\n\rsync_msg_json\x18\x01 \x01(\x0c\"\xa4\x02\n\x0cSyncResponse\x12\x1c\n\x14users_last_update_at\x18\x01 \x01(\x03\x12\x13\n\x0buser_errors\x18\x02 \x03(\t\x12\x13\n\x0busers_syncd\x18\x03 \x03(\t\x12\x1c\n\x14posts_last_update_at\x18\x04 \x01(\x03\x12\x13\n\x0bpost_errors\x18\x05 \x03(\t\x12 \n\x18reactions_last_update_at\x18\x06 \x01(\x03\x12\x17\n\x0freaction_errors\x18\x07 \x03(\t\x12\'\n\x1f\x61\x63knowledgements_last_update_at\x18\x08 \x01(\x03\x12\x1e\n\x16\x61\x63knowledgement_errors\x18\t \x03(\t\x12\x15\n\rstatus_errors\x18\n \x03(\t\"\xd4\x02\n\rRemoteCluster\x12\x11\n\tremote_id\x18\x01 \x01(\t\x12\x16\n\x0eremote_team_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12\x10\n\x08site_url\x18\x05 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_team_id\x18\x06 \x01(\t\x12\x11\n\tcreate_at\x18\x07 \x01(\x03\x12\x11\n\tdelete_at\x18\x08 \x01(\x03\x12\x14\n\x0clast_ping_at\x18\t \x01(\x03\x12 \n\x18last_global_user_sync_at\x18\n \x01(\x03\x12\r\n\x05token\x18\x0b \x01(\t\x12\x14\n\x0cremote_token\x18\x0c \x01(\t\x12\x0e\n\x06topics\x18\r \x01(\t\x12\x12\n\ncreator_id\x18\x0e \x01(\t\x12\x11\n\tplugin_id\x18\x0f \x01(\t\x12\x0f\n\x07options\x18\x10 \x01(\r\"\xc5\x01\n\x15\x45xecuteCommandRequest\x12\x38\n\x07\x63ontext\x18\x01 \x01(\x0b\x32\'.mattermost.pluginapi.v1.RequestContext\x12>\n\x0eplugin_context\x18\x02 \x01(\x0b\x32&.mattermost.pluginapi.v1.PluginContext\x12\x32\n\x04\x61rgs\x18\x03 \x01(\x0b\x32$.mattermost.pluginapi.v1.CommandArgs\"\x86\x01\n\x16\x45xecuteCommandResponse\x12\x30\n\x05\x65rror\x18\x01 \x01(\x0b\x32!.mattermost.pluginapi.v1.AppError\x12:\n\x08response\x18\x02 \x01(\x0b\x32(.mattermost.pluginapi.v1.CommandResponse\"\xd3\x01\n\x1bOnPluginClusterEventRequest\x12\x38\n\x07\x63ontext\x18\x01 \x01(\x0b\x32\'.mattermost.pluginapi.v1.RequestContext\x12>\n\x0eplugin_context\x18\x02 \x01(\x0b\x32&.mattermost.pluginapi.v1.PluginContext\x12:\n\x05\x65vent\x18\x03 \x01(\x0b\x32+.mattermost.pluginapi.v1.PluginClusterEvent\"\x1e\n\x1cOnPluginClusterEventResponse\"{\n\x19OnWebSocketConnectRequest\x12\x38\n\x07\x63ontext\x18\x01 \x01(\x0b\x32\'.mattermost.pluginapi.v1.RequestContext\x12\x13\n\x0bweb_conn_id\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\t\"\x1c\n\x1aOnWebSocketConnectResponse\"~\n\x1cOnWebSocketDisconnectRequest\x12\x38\n\x07\x63ontext\x18\x01 \x01(\x0b\x32\'.mattermost.pluginapi.v1.RequestContext\x12\x13\n\x0bweb_conn_id\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\t\"\x1f\n\x1dOnWebSocketDisconnectResponse\"\xc2\x01\n$WebSocketMessageHasBeenPostedRequest\x12\x38\n\x07\x63ontext\x18\x01 \x01(\x0b\x32\'.mattermost.pluginapi.v1.RequestContext\x12\x13\n\x0bweb_conn_id\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\t\x12:\n\x07request\x18\x04 \x01(\x0b\x32).mattermost.pluginapi.v1.WebSocketRequest\"\'\n%WebSocketMessageHasBeenPostedResponse\"\xd2\x01\n\x1eOnSharedChannelsSyncMsgRequest\x12\x38\n\x07\x63ontext\x18\x01 \x01(\x0b\x32\'.mattermost.pluginapi.v1.RequestContext\x12\x36\n\x08sync_msg\x18\x02 \x01(\x0b\x32$.mattermost.pluginapi.v1.SyncMsgJson\x12>\n\x0eremote_cluster\x18\x03 \x01(\x0b\x32&.mattermost.pluginapi.v1.RemoteCluster\"\x8c\x01\n\x1fOnSharedChannelsSyncMsgResponse\x12\x30\n\x05\x65rror\x18\x01 \x01(\x0b\x32!.mattermost.pluginapi.v1.AppError\x12\x37\n\x08response\x18\x02 \x01(\x0b\x32%.mattermost.pluginapi.v1.SyncResponse\"\x97\x01\n\x1bOnSharedChannelsPingRequest\x12\x38\n\x07\x63ontext\x18\x01 \x01(\x0b\x32\'.mattermost.pluginapi.v1.RequestContext\x12>\n\x0eremote_cluster\x18\x02 \x01(\x0b\x32&.mattermost.pluginapi.v1.RemoteCluster\"/\n\x1cOnSha
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'hooks_command_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['_WEBSOCKETREQUEST']._serialized_start=169
_globals['_WEBSOCKETREQUEST']._serialized_end=255
_globals['_SYNCMSGJSON']._serialized_start=257
_globals['_SYNCMSGJSON']._serialized_end=293
_globals['_SYNCRESPONSE']._serialized_start=296
_globals['_SYNCRESPONSE']._serialized_end=588
_globals['_REMOTECLUSTER']._serialized_start=591
_globals['_REMOTECLUSTER']._serialized_end=931
_globals['_EXECUTECOMMANDREQUEST']._serialized_start=934
_globals['_EXECUTECOMMANDREQUEST']._serialized_end=1131
_globals['_EXECUTECOMMANDRESPONSE']._serialized_start=1134
_globals['_EXECUTECOMMANDRESPONSE']._serialized_end=1268
_globals['_ONPLUGINCLUSTEREVENTREQUEST']._serialized_start=1271
_globals['_ONPLUGINCLUSTEREVENTREQUEST']._serialized_end=1482
_globals['_ONPLUGINCLUSTEREVENTRESPONSE']._serialized_start=1484
_globals['_ONPLUGINCLUSTEREVENTRESPONSE']._serialized_end=1514
_globals['_ONWEBSOCKETCONNECTREQUEST']._serialized_start=1516
_globals['_ONWEBSOCKETCONNECTREQUEST']._serialized_end=1639
_globals['_ONWEBSOCKETCONNECTRESPONSE']._serialized_start=1641
_globals['_ONWEBSOCKETCONNECTRESPONSE']._serialized_end=1669
_globals['_ONWEBSOCKETDISCONNECTREQUEST']._serialized_start=1671
_globals['_ONWEBSOCKETDISCONNECTREQUEST']._serialized_end=1797
_globals['_ONWEBSOCKETDISCONNECTRESPONSE']._serialized_start=1799
_globals['_ONWEBSOCKETDISCONNECTRESPONSE']._serialized_end=1830
_globals['_WEBSOCKETMESSAGEHASBEENPOSTEDREQUEST']._serialized_start=1833
_globals['_WEBSOCKETMESSAGEHASBEENPOSTEDREQUEST']._serialized_end=2027
_globals['_WEBSOCKETMESSAGEHASBEENPOSTEDRESPONSE']._serialized_start=2029
_globals['_WEBSOCKETMESSAGEHASBEENPOSTEDRESPONSE']._serialized_end=2068
_globals['_ONSHAREDCHANNELSSYNCMSGREQUEST']._serialized_start=2071
_globals['_ONSHAREDCHANNELSSYNCMSGREQUEST']._serialized_end=2281
_globals['_ONSHAREDCHANNELSSYNCMSGRESPONSE']._serialized_start=2284
_globals['_ONSHAREDCHANNELSSYNCMSGRESPONSE']._serialized_end=2424
_globals['_ONSHAREDCHANNELSPINGREQUEST']._serialized_start=2427
_globals['_ONSHAREDCHANNELSPINGREQUEST']._serialized_end=2578
_globals['_ONSHAREDCHANNELSPINGRESPONSE']._serialized_start=2580
_globals['_ONSHAREDCHANNELSPINGRESPONSE']._serialized_end=2627
_globals['_ONSHAREDCHANNELSATTACHMENTSYNCMSGREQUEST']._serialized_start=2630
_globals['_ONSHAREDCHANNELSATTACHMENTSYNCMSGREQUEST']._serialized_end=2893
_globals['_ONSHAREDCHANNELSATTACHMENTSYNCMSGRESPONSE']._serialized_start=2895
_globals['_ONSHAREDCHANNELSATTACHMENTSYNCMSGRESPONSE']._serialized_end=2988
_globals['_ONSHAREDCHANNELSPROFILEIMAGESYNCMSGREQUEST']._serialized_start=2991
_globals['_ONSHAREDCHANNELSPROFILEIMAGESYNCMSGREQUEST']._serialized_end=3202
_globals['_ONSHAREDCHANNELSPROFILEIMAGESYNCMSGRESPONSE']._serialized_start=3204
_globals['_ONSHAREDCHANNELSPROFILEIMAGESYNCMSGRESPONSE']._serialized_end=3299
_globals['_GENERATESUPPORTDATAREQUEST']._serialized_start=3302
_globals['_GENERATESUPPORTDATAREQUEST']._serialized_end=3452
_globals['_GENERATESUPPORTDATARESPONSE']._serialized_start=3455
_globals['_GENERATESUPPORTDATARESPONSE']._serialized_end=3584
# @@protoc_insertion_point(module_scope)