Skip to main content

Interface: IAnnotation

Properties of an Annotation.

Extends​

Properties​

begin?​

optional begin?: number | null

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

Inherited from​

$Properties.begin


end?​

optional end?: number | null

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?: number[] | null

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?: Semantic | null

Annotation semantic

Inherited from​

$Properties.semantic


sourceFile?​

optional sourceFile?: string | null

Identifies the filesystem path to the original source .proto.

Inherited from​

$Properties.sourceFile