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

Breadcrumb

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

function FileDescriptorProto::setSourceCodeInfo

This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.

Generated from protobuf field <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>

Parameters

\Google\Protobuf\Internal\SourceCodeInfo $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorProto.php, line 448

Class

FileDescriptorProto
Describes a complete .proto file.

Namespace

Google\Protobuf\Internal

Code

public function setSourceCodeInfo($var) {
    GPBUtil::checkMessage($var, \Google\Protobuf\Internal\SourceCodeInfo::class);
    $this->source_code_info = $var;
    return $this;
}

API Navigation

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