Package com.google.api.expr.v1alpha1
Interface SourcePositionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SourcePosition
,SourcePosition.Builder
public interface SourcePositionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getColumn()
The 0-based index of the starting position within the line of source text where the issue occurs.int
getLine()
The 1-based index of the starting line in the source text where the issue occurs, or 0 if unknown.java.lang.String
getLocation()
The soucre location name (e.g.com.google.protobuf.ByteString
getLocationBytes()
The soucre location name (e.g.int
getOffset()
The UTF-8 code unit offset.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLocation
java.lang.String getLocation()
The soucre location name (e.g. file name).
string location = 1;
- Returns:
- The location.
-
getLocationBytes
com.google.protobuf.ByteString getLocationBytes()
The soucre location name (e.g. file name).
string location = 1;
- Returns:
- The bytes for location.
-
getOffset
int getOffset()
The UTF-8 code unit offset.
int32 offset = 2;
- Returns:
- The offset.
-
getLine
int getLine()
The 1-based index of the starting line in the source text where the issue occurs, or 0 if unknown.
int32 line = 3;
- Returns:
- The line.
-
getColumn
int getColumn()
The 0-based index of the starting position within the line of source text where the issue occurs. Only meaningful if line is nonzero.
int32 column = 4;
- Returns:
- The column.
-
-