# Interface DescriptorProtos.MethodDescriptorProtoOrBuilder (3.19.4)

    public static interface DescriptorProtos.MethodDescriptorProtoOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getClientStreaming()

    public abstract boolean getClientStreaming()

Identifies if client streams multiple client messages

`optional bool client_streaming = 5 [default = false];`

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

### getInputType()

    public abstract String getInputType()

Input and output type names. These are resolved in the same way as
FieldDescriptorProto.type_name, but must refer to a message type.

`optional string input_type = 2;`

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

### getInputTypeBytes()

    public abstract ByteString getInputTypeBytes()

Input and output type names. These are resolved in the same way as
FieldDescriptorProto.type_name, but must refer to a message type.

`optional string input_type = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString` | The bytes for inputType. |

### getName()

    public abstract String getName()

`optional string name = 1;`

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

### getNameBytes()

    public abstract ByteString getNameBytes()

`optional string name = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString` | The bytes for name. |

### getOptions()

    public abstract DescriptorProtos.MethodOptions getOptions()

`optional .google.protobuf.MethodOptions options = 4;`

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

### getOptionsOrBuilder()

    public abstract DescriptorProtos.MethodOptionsOrBuilder getOptionsOrBuilder()

`optional .google.protobuf.MethodOptions options = 4;`

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

### getOutputType()

    public abstract String getOutputType()

`optional string output_type = 3;`

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

### getOutputTypeBytes()

    public abstract ByteString getOutputTypeBytes()

`optional string output_type = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString` | The bytes for outputType. |

### getServerStreaming()

    public abstract boolean getServerStreaming()

Identifies if server streams multiple server messages

`optional bool server_streaming = 6 [default = false];`

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

### hasClientStreaming()

    public abstract boolean hasClientStreaming()

Identifies if client streams multiple client messages

`optional bool client_streaming = 5 [default = false];`

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

### hasInputType()

    public abstract boolean hasInputType()

Input and output type names. These are resolved in the same way as
FieldDescriptorProto.type_name, but must refer to a message type.

`optional string input_type = 2;`

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

### hasName()

    public abstract boolean hasName()

`optional string name = 1;`

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

### hasOptions()

    public abstract boolean hasOptions()

`optional .google.protobuf.MethodOptions options = 4;`

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

### hasOutputType()

    public abstract boolean hasOutputType()

`optional string output_type = 3;`

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

### hasServerStreaming()

    public abstract boolean hasServerStreaming()

Identifies if server streams multiple server messages

`optional bool server_streaming = 6 [default = false];`

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