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

Breadcrumb

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

function FileDescriptorProto::getName

file name, relative to root of source tree

Generated from protobuf field <code>optional string name = 1;</code>

Return value

string

File

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

Class

FileDescriptorProto
Describes a complete .proto file.

Namespace

Google\Protobuf\Internal

Code

public function getName() {
    return isset($this->name) ? $this->name : '';
}

API Navigation

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