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

Breadcrumb

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

function UninterpretedOption::setStringValue

Generated from protobuf field <code>optional bytes string_value = 7;</code>

Parameters

string $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption.php, line 259

Class

UninterpretedOption
A message representing a option the parser does not recognize. This only appears in options protos created by the compiler::Parser class. DescriptorPool resolves these when building Descriptor objects. Therefore, options protos in descriptor objects…

Namespace

Google\Protobuf\Internal

Code

public function setStringValue($var) {
    GPBUtil::checkString($var, False);
    $this->string_value = $var;
    return $this;
}

API Navigation

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