Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DescriptorPool.php

function DescriptorPool::getGeneratedPool

Same name in this branch
  1. 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

... See full list

File

vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php, line 27

Class

DescriptorPool

Namespace

Google\Protobuf\Internal

Code

public static function getGeneratedPool() {
    if (!isset(self::$pool)) {
        self::$pool = new DescriptorPool();
    }
    return self::$pool;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal