# Class MethodOptionsKt.Dsl (3.19.4)

    public static final class MethodOptionsKt.Dsl

## Inheritance

[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> MethodOptionsKt.Dsl

## Inherited Members

[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) [Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) [Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

## Static Fields

### Companion

    public static final MethodOptionsKt.Dsl.Companion Companion

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MethodOptionsKt.Dsl.Companion#com_google_protobuf_MethodOptionsKt_Dsl_Companion` |   |

### Companion

    public static final MethodOptionsKt.Dsl.Companion Companion

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MethodOptionsKt.Dsl.Companion#com_google_protobuf_MethodOptionsKt_Dsl_Companion` |   |

## Methods

### clearDeprecated()

    public final void clearDeprecated()

### clearIdempotencyLevel()

    public final void clearIdempotencyLevel()

### getDeprecated()

    public final boolean getDeprecated()

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

### getIdempotencyLevel()

    public final DescriptorProtos.MethodOptions.IdempotencyLevel getIdempotencyLevel()

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

### hasDeprecated()

    public final boolean hasDeprecated()

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

### hasIdempotencyLevel()

    public final boolean hasIdempotencyLevel()

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

### setDeprecated(boolean arg0)

    public final void setDeprecated(boolean arg0)

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

### setIdempotencyLevel(DescriptorProtos.MethodOptions.IdempotencyLevel arg0)

    public final void setIdempotencyLevel(DescriptorProtos.MethodOptions.IdempotencyLevel arg0)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arg0` | `https://docs.cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DescriptorProtos.MethodOptions.IdempotencyLevel` |