function DescriptorPool::getGeneratedPool
Same name in this branch
- 11.1.x vendor/google/protobuf/src/Google/Protobuf/DescriptorPool.php \Google\Protobuf\DescriptorPool::getGeneratedPool()
28 calls to DescriptorPool::getGeneratedPool()
- Any::initOnce in vendor/
google/ protobuf/ src/ GPBMetadata/ Google/ Protobuf/ Any.php - AnyBase::is in vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ AnyBase.php - This method returns whether the type_url in any_message is corresponded to the given class.
- AnyBase::pack in vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ AnyBase.php - The type_url will be created according to the given message’s type and the value is encoded data from the given message..
- AnyBase::unpack in vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ AnyBase.php - This method will try to resolve the type_url in Any message to get the targeted message type. If failed, an error will be thrown. Otherwise, the method will create a message of the targeted type and fill it with the decoded value in Any.
- Api::initOnce in vendor/
google/ protobuf/ src/ GPBMetadata/ Google/ Protobuf/ Api.php
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ DescriptorPool.php, line 27
Class
Namespace
Google\Protobuf\InternalCode
public static function getGeneratedPool() {
if (!isset(self::$pool)) {
self::$pool = new DescriptorPool();
}
return self::$pool;
}