• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/protobuf/jsonresponse.php
  • Класс: BitrixPullProtobufJsonResponse
  • Вызов: JsonResponse::descriptor
static function descriptor()
    {
        return googleprotobufDescriptorProto::fromArray([
            'name'      => 'JsonResponse',
            'field'     => [
                googleprotobufFieldDescriptorProto::fromArray([
                    'number' => 1,
                    'name' => 'json',
                    'type' => googleprotobufFieldDescriptorProtoType::TYPE_STRING(),
                    'label' => googleprotobufFieldDescriptorProtoLabel::LABEL_OPTIONAL()
                ]),
            ],
        ]);
    }