GitHub

GeneratedCodeInfo_Annotation

API reference for GeneratedCodeInfo_Annotation.

The fields of google.protobuf.GeneratedCodeInfo.Annotation.

Attributes

AttributeTypeDescription
pathlist[int]

Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path.

source_filestr

Identifies the filesystem path to the original source .proto.

beginint

Identifies the starting offset in bytes in the generated code that relates to the identified object.

endint

Identifies the ending offset in bytes in the generated code that relates to the identified object. The end offset should be one past the last relevant byte (so the length of the text = end - begin).

semanticint

A GeneratedCodeInfo_Annotation_Semantic.