Skip to main content

Interface: $Properties

Properties of an Annotation.

Extended by​

Properties​

begin?​

optional begin?: number | null

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


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).


path?​

optional path?: number[] | null

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


semantic?​

optional semantic?: Semantic | null

Annotation semantic


sourceFile?​

optional sourceFile?: string | null

Identifies the filesystem path to the original source .proto.