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

Breadcrumb

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

function MessageOptions::getNoStandardDescriptorAccessor

Disables the generation of the standard "descriptor()" accessor, which can conflict with a field of the same name. This is meant to make migration from proto1 easier; new code should avoid fields named "descriptor".

Generated from protobuf field <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code>

Return value

bool

File

vendor/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php, line 239

Class

MessageOptions
Generated from protobuf message <code>google.protobuf.MessageOptions</code>

Namespace

Google\Protobuf\Internal

Code

public function getNoStandardDescriptorAccessor() {
    return isset($this->no_standard_descriptor_accessor) ? $this->no_standard_descriptor_accessor : false;
}

API Navigation

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