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

Breadcrumb

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

function FieldDescriptorProto::setOptions

Generated from protobuf field <code>optional .google.protobuf.FieldOptions options = 8;</code>

Parameters

\Google\Protobuf\Internal\FieldOptions $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto.php, line 532

Class

FieldDescriptorProto
Describes a field within a message.

Namespace

Google\Protobuf\Internal

Code

public function setOptions($var) {
    GPBUtil::checkMessage($var, \Google\Protobuf\Internal\FieldOptions::class);
    $this->options = $var;
    return $this;
}
RSS feed
Powered by Drupal