interface GeneratedCodeInfo_Annotation {
    begin: number;
    end: number;
    path: number[];
    sourceFile: string;
}

Properties

begin: number

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

end: number

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

path: number[]

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

sourceFile: string

Identifies the filesystem path to the original source .proto.