- Модуль: pull
- Путь к файлу: ~/bitrix/modules/pull/lib/protobuf/request.php
- Класс: BitrixPullProtobufRequest
- Вызов: Request::descriptor
static function descriptor()
{
return googleprotobufDescriptorProto::fromArray([
'name' => 'Request',
'field' => [
googleprotobufFieldDescriptorProto::fromArray([
'number' => 1,
'name' => 'incomingMessages',
'type' => googleprotobufFieldDescriptorProtoType::TYPE_MESSAGE(),
'label' => googleprotobufFieldDescriptorProtoLabel::LABEL_OPTIONAL(),
'type_name' => '.IncomingMessagesRequest'
]),
googleprotobufFieldDescriptorProto::fromArray([
'number' => 2,
'name' => 'channelStats',
'type' => googleprotobufFieldDescriptorProtoType::TYPE_MESSAGE(),
'label' => googleprotobufFieldDescriptorProtoLabel::LABEL_OPTIONAL(),
'type_name' => '.ChannelStatsRequest'
]),
googleprotobufFieldDescriptorProto::fromArray([
'number' => 3,
'name' => 'serverStats',
'type' => googleprotobufFieldDescriptorProtoType::TYPE_MESSAGE(),
'label' => googleprotobufFieldDescriptorProtoLabel::LABEL_OPTIONAL(),
'type_name' => '.ServerStatsRequest'
]),
],
]);
}