Interface RangeInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RangeInfo,RangeInfo.Builder
@Generated
public interface RangeInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonggetEnd()Index of last character (exclusive).longgetStart()For proto3, value cannot be set to 0 unless the field is optional.booleanhasEnd()Index of last character (exclusive).booleanhasStart()For proto3, value cannot be set to 0 unless the field is optional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStart
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:
- Whether the start field is set.
-
getStart
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:
- The start.
-
hasEnd
boolean hasEnd()Index of last character (exclusive).
optional int64 end = 2;- Returns:
- Whether the end field is set.
-
getEnd
long getEnd()Index of last character (exclusive).
optional int64 end = 2;- Returns:
- The end.
-