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

Breadcrumb

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

FileOptions::$cc_generic_services

Should generic services be generated in each language? "Generic" services are not specific to any particular RPC system. They are generated by the main code generators in each language (without additional plugins). Generic services were the only kind of service generation supported by early versions of google.protobuf. Generic services are now considered deprecated in favor of using plugins that generate code specific to your particular RPC system. Therefore, these default to false. Old code which depends on generic services should explicitly set them to true.

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

Type: cc_generic_services

File

vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php, line 93

Class

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

Namespace

Google\Protobuf\Internal

Code

protected $cc_generic_services = null;

API Navigation

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