# Interface DescriptorProtos.EnumOptionsOrBuilder (3.19.4)

    public static interface DescriptorProtos.EnumOptionsOrBuilder extends GeneratedMessageV3.ExtendableMessageOrBuilder<DescriptorProtos.EnumOptions>

## Implements

com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder\<com.google.protobuf.DescriptorProtos.EnumOptions\>

## Methods

### getAllowAlias()

    public abstract boolean getAllowAlias()

Set this option to true to allow mapping different tag names to the same
value.

`optional bool allow_alias = 2;`

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

### getDeprecated()

    public abstract boolean getDeprecated()

Is this enum deprecated?
Depending on the target platform, this can emit Deprecated annotations
for the enum, or it will be completely ignored; in the very least, this
is a formalization for deprecating enums.

`optional bool deprecated = 3 [default = false];`

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

### getUninterpretedOption(int index)

    public abstract DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)

The parser stores options it doesn't recognize here. See above.

`repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

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

### getUninterpretedOptionCount()

    public abstract int getUninterpretedOptionCount()

The parser stores options it doesn't recognize here. See above.

`repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;`

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

### getUninterpretedOptionList()

    public abstract List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()

The parser stores options it doesn't recognize here. See above.

`repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DescriptorProtos.UninterpretedOption>` |   |

### getUninterpretedOptionOrBuilder(int index)

    public abstract DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(int index)

The parser stores options it doesn't recognize here. See above.

`repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

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

### getUninterpretedOptionOrBuilderList()

    public abstract List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()

The parser stores options it doesn't recognize here. See above.

`repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>` |   |

### hasAllowAlias()

    public abstract boolean hasAllowAlias()

Set this option to true to allow mapping different tag names to the same
value.

`optional bool allow_alias = 2;`

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

### hasDeprecated()

    public abstract boolean hasDeprecated()

Is this enum deprecated?
Depending on the target platform, this can emit Deprecated annotations
for the enum, or it will be completely ignored; in the very least, this
is a formalization for deprecating enums.

`optional bool deprecated = 3 [default = false];`

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