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

Breadcrumb

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

function DescriptorProto::setOptions

Generated from protobuf field <code>optional .google.protobuf.MessageOptions options = 7;</code>

Parameters

\Google\Protobuf\Internal\MessageOptions $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto.php, line 277

Class

DescriptorProto
Describes a message type.

Namespace

Google\Protobuf\Internal

Code

public function setOptions($var) {
    GPBUtil::checkMessage($var, \Google\Protobuf\Internal\MessageOptions::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