Interface: IAnnotation
protobuf.GeneratedCodeInfo.IAnnotation
Properties of an Annotation.
Hierarchy
-
↳
IAnnotation
Properties
begin
• Optional begin: null | number
Identifies the starting offset in bytes in the generated code that relates to the identified object.
Inherited from
end
• Optional end: null | number
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).
Inherited from
path
• Optional path: null | number[]
Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path.
Inherited from
semantic
• Optional semantic: null | Semantic
Annotation semantic
Inherited from
sourceFile
• Optional sourceFile: null | string
Identifies the filesystem path to the original source .proto.