# Interface RangeInfoOrBuilder (0.34.0)

0.34.0 (latest) 0.32.0 0.29.0 0.28.0 0.26.0 0.24.0 0.23.0 0.21.0 0.19.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.11.0 0.9.0 0.8.0 0.5.0 0.4.0 0.3.0 0.1.0

    public interface RangeInfoOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getEnd()

    public abstract long getEnd()

Index of last character (exclusive).

`optional int64 end = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The start. |

### hasEnd()

    public abstract boolean hasEnd()

Index of last character (exclusive).

`optional int64 end = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the start field is set. |