Skip to main content

Interface: IAnnotation

protobuf.GeneratedCodeInfo.IAnnotation

Properties of an Annotation.

Hierarchy​

Properties​

begin​

• Optional begin: null | number

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

Inherited from​

$Properties.begin


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​

$Properties.end


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​

$Properties.path


semantic​

• Optional semantic: null | Semantic

Annotation semantic

Inherited from​

$Properties.semantic


sourceFile​

• Optional sourceFile: null | string

Identifies the filesystem path to the original source .proto.

Inherited from​

$Properties.sourceFile