-
public final class MethodDescriptorProtoKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMethodDescriptorProtoKt.Dsl.Companion
-
Field Summary
Fields Modifier and Type Field Description private Stringnameprivate StringinputTypeprivate StringoutputTypeprivate DescriptorProtos.MethodOptionsoptionsprivate final DescriptorProtos.MethodOptionsoptionsOrNullprivate BooleanclientStreamingprivate BooleanserverStreaming
-
Method Summary
Modifier and Type Method Description final StringgetName()final UnitsetName(String name)final StringgetInputType()final UnitsetInputType(String inputType)final StringgetOutputType()final UnitsetOutputType(String outputType)final DescriptorProtos.MethodOptionsgetOptions()final UnitsetOptions(DescriptorProtos.MethodOptions options)final DescriptorProtos.MethodOptionsgetOptionsOrNull(MethodDescriptorProtoKt.Dsl $self)final BooleangetClientStreaming()final UnitsetClientStreaming(Boolean clientStreaming)final BooleangetServerStreaming()final UnitsetServerStreaming(Boolean serverStreaming)final UnitclearName()<code>optional string name = 1;</code> final BooleanhasName()<code>optional string name = 1;</code> final UnitclearInputType()<pre> Input and output type names. final BooleanhasInputType()<pre> Input and output type names. final UnitclearOutputType()<code>optional string output_type = 3;</code> final BooleanhasOutputType()<code>optional string output_type = 3;</code> final UnitclearOptions()<code>optional .google.protobuf. final BooleanhasOptions()<code>optional .google.protobuf. final UnitclearClientStreaming()<pre> Identifies if client streams multiple client messages </pre><code>optional bool client_streaming = 5 default = false;</code> final BooleanhasClientStreaming()<pre> Identifies if client streams multiple client messages </pre><code>optional bool client_streaming = 5 default = false;</code> final UnitclearServerStreaming()<pre> Identifies if server streams multiple server messages </pre><code>optional bool server_streaming = 6 default = false;</code> final BooleanhasServerStreaming()<pre> Identifies if server streams multiple server messages </pre><code>optional bool server_streaming = 6 default = false;</code> -
-
Method Detail
-
getInputType
final String getInputType()
-
setInputType
final Unit setInputType(String inputType)
-
getOutputType
final String getOutputType()
-
setOutputType
final Unit setOutputType(String outputType)
-
getOptions
final DescriptorProtos.MethodOptions getOptions()
-
setOptions
final Unit setOptions(DescriptorProtos.MethodOptions options)
-
getOptionsOrNull
final DescriptorProtos.MethodOptions getOptionsOrNull(MethodDescriptorProtoKt.Dsl $self)
-
getClientStreaming
final Boolean getClientStreaming()
-
setClientStreaming
final Unit setClientStreaming(Boolean clientStreaming)
-
getServerStreaming
final Boolean getServerStreaming()
-
setServerStreaming
final Unit setServerStreaming(Boolean serverStreaming)
-
clearInputType
final Unit clearInputType()
<pre> Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type. </pre><code>optional string input_type = 2;</code>
-
hasInputType
final Boolean hasInputType()
<pre> Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type. </pre><code>optional string input_type = 2;</code>
-
clearOutputType
final Unit clearOutputType()
<code>optional string output_type = 3;</code>
-
hasOutputType
final Boolean hasOutputType()
<code>optional string output_type = 3;</code>
-
clearOptions
final Unit clearOptions()
<code>optional .google.protobuf.MethodOptions options = 4;</code>
-
hasOptions
final Boolean hasOptions()
<code>optional .google.protobuf.MethodOptions options = 4;</code>
-
clearClientStreaming
final Unit clearClientStreaming()
<pre> Identifies if client streams multiple client messages </pre><code>optional bool client_streaming = 5 default = false;</code>
-
hasClientStreaming
final Boolean hasClientStreaming()
<pre> Identifies if client streams multiple client messages </pre><code>optional bool client_streaming = 5 default = false;</code>
-
clearServerStreaming
final Unit clearServerStreaming()
<pre> Identifies if server streams multiple server messages </pre><code>optional bool server_streaming = 6 default = false;</code>
-
hasServerStreaming
final Boolean hasServerStreaming()
<pre> Identifies if server streams multiple server messages </pre><code>optional bool server_streaming = 6 default = false;</code>
-
-
-
-