# Class ServiceDescriptorProtoKt.Dsl (3.19.4)

    public static final class ServiceDescriptorProtoKt.Dsl

## Inheritance

[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> ServiceDescriptorProtoKt.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 ServiceDescriptorProtoKt.Dsl.Companion Companion

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

### Companion

    public static final ServiceDescriptorProtoKt.Dsl.Companion Companion

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

## Methods

### clearName()

    public final void clearName()

### clearOptions()

    public final void clearOptions()

### getName()

    public final String getName()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getOptions()

    public final DescriptorProtos.ServiceOptions getOptions()

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

### hasName()

    public final boolean hasName()

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

### hasOptions()

    public final boolean hasOptions()

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

### setName(String arg0)

    public final void setName(String arg0)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arg0` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

### setOptions(DescriptorProtos.ServiceOptions arg0)

    public final void setOptions(DescriptorProtos.ServiceOptions arg0)

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