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

Breadcrumb

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

function ServiceDescriptorProto::setOptions

Generated from protobuf field <code>optional .google.protobuf.ServiceOptions options = 3;</code>

Parameters

\Google\Protobuf\Internal\ServiceOptions $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Internal/ServiceDescriptorProto.php, line 127

Class

ServiceDescriptorProto
Describes a service.

Namespace

Google\Protobuf\Internal

Code

public function setOptions($var) {
    GPBUtil::checkMessage($var, \Google\Protobuf\Internal\ServiceOptions::class);
    $this->options = $var;
    return $this;
}

API Navigation

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