function Api::initOnce
3 calls to Api::initOnce()
- Api::__construct in vendor/
google/ protobuf/ src/ Google/ Protobuf/ Api.php - Constructor.
- Method::__construct in vendor/
google/ protobuf/ src/ Google/ Protobuf/ Method.php - Constructor.
- Mixin::__construct in vendor/
google/ protobuf/ src/ Google/ Protobuf/ Mixin.php - Constructor.
File
-
vendor/
google/ protobuf/ src/ GPBMetadata/ Google/ Protobuf/ Api.php, line 11
Class
Namespace
GPBMetadata\Google\ProtobufCode
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;
}