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

Breadcrumb

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

function GeneratedCodeInfo::getAnnotation

An Annotation connects some span of text in generated code to an element of its generating .proto file.

Generated from protobuf field <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code>

Return value

\Google\Protobuf\Internal\RepeatedField

File

vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo.php, line 53

Class

GeneratedCodeInfo
Describes the relationship between generated code and its original source file. A GeneratedCodeInfo message is associated with only one generated source file, but may contain references to different source .proto files.

Namespace

Google\Protobuf\Internal

Code

public function getAnnotation() {
    return $this->annotation;
}
RSS feed
Powered by Drupal