# Interface DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder (3.19.4)

    public static interface DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getEnd()

    public abstract int getEnd()

Exclusive.

`optional int32 end = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The end. |

### getStart()

    public abstract int getStart()

Inclusive.

`optional int32 start = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The start. |

### hasEnd()

    public abstract boolean hasEnd()

Exclusive.

`optional int32 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()

Inclusive.

`optional int32 start = 1;`

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