-
public final class MethodDescriptorProtoKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
MethodDescriptorProtoKt.Dsl.Companion
-
Field Summary
Fields Modifier and Type Field Description private String
name
private String
inputType
private String
outputType
private DescriptorProtos.MethodOptions
options
private final DescriptorProtos.MethodOptions
optionsOrNull
private Boolean
clientStreaming
private Boolean
serverStreaming
-
Method Summary
Modifier and Type Method Description final String
getName()
final Unit
setName(String name)
final String
getInputType()
final Unit
setInputType(String inputType)
final String
getOutputType()
final Unit
setOutputType(String outputType)
final DescriptorProtos.MethodOptions
getOptions()
final Unit
setOptions(DescriptorProtos.MethodOptions options)
final DescriptorProtos.MethodOptions
getOptionsOrNull(MethodDescriptorProtoKt.Dsl $self)
final Boolean
getClientStreaming()
final Unit
setClientStreaming(Boolean clientStreaming)
final Boolean
getServerStreaming()
final Unit
setServerStreaming(Boolean serverStreaming)
final Unit
clearName()
<code>optional string name = 1;</code> final Boolean
hasName()
<code>optional string name = 1;</code> final Unit
clearInputType()
<pre> Input and output type names. final Boolean
hasInputType()
<pre> Input and output type names. final Unit
clearOutputType()
<code>optional string output_type = 3;</code> final Boolean
hasOutputType()
<code>optional string output_type = 3;</code> final Unit
clearOptions()
<code>optional .google.protobuf. final Boolean
hasOptions()
<code>optional .google.protobuf. final Unit
clearClientStreaming()
<pre> Identifies if client streams multiple client messages </pre><code>optional bool client_streaming = 5 default = false;</code> final Boolean
hasClientStreaming()
<pre> Identifies if client streams multiple client messages </pre><code>optional bool client_streaming = 5 default = false;</code> final Unit
clearServerStreaming()
<pre> Identifies if server streams multiple server messages </pre><code>optional bool server_streaming = 6 default = false;</code> final Boolean
hasServerStreaming()
<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>
-
-
-
-