- Модуль: pull
- Путь к файлу: ~/bitrix/modules/pull/lib/protobuf/responsebatch.php
- Класс: BitrixPullProtobufResponseBatch
- Вызов: ResponseBatch::descriptor
static function descriptor()
{
return googleprotobufDescriptorProto::fromArray([
'name' => 'ResponseBatch',
'field' => [
googleprotobufFieldDescriptorProto::fromArray([
'number' => 1,
'name' => 'responses',
'type' => googleprotobufFieldDescriptorProtoType::TYPE_MESSAGE(),
'label' => googleprotobufFieldDescriptorProtoLabel::LABEL_REPEATED(),
'type_name' => '.Response'
]),
],
]);
}