google.protobuf.SourceCodeInfo.Location
Example
Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working
code.
local types = import 'types.libsonnet';
types.google.protobuf.SourceCodeInfo.Location
.withLeadingComments('string')
.withLeadingDetachedComments([ 'string' ])
.withPath([ 1 ])
.withSpan([ 1 ])
.withTrailingComments('string')
._validate()
Fields
| Name |
Type |
One-of group |
Required |
Constraints |
| leading_comments |
string
|
|
|
|
| leading_detached_comments |
[]
string
|
|
|
|
| path |
[]
int32
|
|
|
|
| span |
[]
int32
|
|
|
|
| trailing_comments |
string
|
|
|
|