public interface RangeInfoOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getEnd()
public abstract long getEnd()
Index of last character (exclusive).
optional int64 end = 2;
Returns | |
---|---|
Type | Description |
long |
The end. |
getStart()
public abstract long getStart()
For proto3, value cannot be set to 0 unless the field is optional. Ref: https://protobuf.dev/programming-guides/proto3/#default Index of first character (inclusive).
optional int64 start = 1;
Returns | |
---|---|
Type | Description |
long |
The start. |
hasEnd()
public abstract boolean hasEnd()
Index of last character (exclusive).
optional int64 end = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the end field is set. |
hasStart()
public abstract boolean hasStart()
For proto3, value cannot be set to 0 unless the field is optional. Ref: https://protobuf.dev/programming-guides/proto3/#default Index of first character (inclusive).
optional int64 start = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the start field is set. |