# Interface DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder (3.19.4)

    public static interface DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder 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. |

### getOptions()

    public abstract DescriptorProtos.ExtensionRangeOptions getOptions()

`optional .google.protobuf.ExtensionRangeOptions options = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DescriptorProtos.ExtensionRangeOptions` | The options. |

### getOptionsOrBuilder()

    public abstract DescriptorProtos.ExtensionRangeOptionsOrBuilder getOptionsOrBuilder()

`optional .google.protobuf.ExtensionRangeOptions options = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder` |   |

### 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. |

### hasOptions()

    public abstract boolean hasOptions()

`optional .google.protobuf.ExtensionRangeOptions options = 3;`

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