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

Breadcrumb

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

function MethodDescriptorProto::__construct

Constructor.

Parameters

array $data {: Optional. Data for populating the Message object.

@type string $name @type string $input_type Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type. @type string $output_type @type \Google\Protobuf\Internal\MethodOptions $options @type bool $client_streaming Identifies if client streams multiple client messages @type bool $server_streaming Identifies if server streams multiple server messages }

Overrides Message::__construct

File

vendor/google/protobuf/src/Google/Protobuf/Internal/MethodDescriptorProto.php, line 70

Class

MethodDescriptorProto
Describes a method of a service.

Namespace

Google\Protobuf\Internal

Code

public function __construct($data = NULL) {
    \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce();
    parent::__construct($data);
}

API Navigation

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