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

Breadcrumb

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

class Api

Same name in this branch
  1. 11.1.x vendor/google/protobuf/src/Google/Protobuf/Api.php \Google\Protobuf\Api

Hierarchy

  • class \GPBMetadata\Google\Protobuf\Api

Expanded class hierarchy of Api

File

vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Api.php, line 7

Namespace

GPBMetadata\Google\Protobuf
View source
class Api {
    public static $is_initialized = false;
    public static function initOnce() {
        $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
        if (static::$is_initialized == true) {
            return;
        }
        \GPBMetadata\Google\Protobuf\SourceContext::initOnce();
        \GPBMetadata\Google\Protobuf\Type::initOnce();
        $pool->internalAddGeneratedFile('
�
google/protobuf/api.protogoogle.protobufgoogle/protobuf/type.proto"�
Api
name (	(
methods (2.google.protobuf.Method(
options (2.google.protobuf.Option
version (	6
source_context (2.google.protobuf.SourceContext&
mixins (2.google.protobuf.Mixin\'
syntax (2.google.protobuf.Syntax"�
Method
name (	
request_type_url (	
request_streaming (
response_type_url (	
response_streaming ((
options (2.google.protobuf.Option\'
syntax (2.google.protobuf.Syntax"#
Mixin
name (	
root (	Bv
com.google.protobufBApiProtoPZ,google.golang.org/protobuf/types/known/apipb�GPB�Google.Protobuf.WellKnownTypesbproto3', true);
        static::$is_initialized = true;
    }

}

Members

Title Sort descending Modifiers Object type Summary
Api::$is_initialized public static property
Api::initOnce public static function

API Navigation

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