-
public final class MethodKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMethodKt.Dsl.Companionpublic final classMethodKt.Dsl.OptionsProxyAn uninstantiable, behaviorless type to represent the field in generics.
-
Field Summary
Fields Modifier and Type Field Description private Stringnameprivate StringrequestTypeUrlprivate BooleanrequestStreamingprivate StringresponseTypeUrlprivate BooleanresponseStreamingprivate final DslList<Option, MethodKt.Dsl.OptionsProxy>optionsprivate Syntaxsyntax
-
Method Summary
Modifier and Type Method Description final StringgetName()final UnitsetName(String name)final StringgetRequestTypeUrl()final UnitsetRequestTypeUrl(String requestTypeUrl)final BooleangetRequestStreaming()final UnitsetRequestStreaming(Boolean requestStreaming)final StringgetResponseTypeUrl()final UnitsetResponseTypeUrl(String responseTypeUrl)final BooleangetResponseStreaming()final UnitsetResponseStreaming(Boolean responseStreaming)final SyntaxgetSyntax()final UnitsetSyntax(Syntax syntax)final UnitclearName()<pre> The simple name of this method. final UnitclearRequestTypeUrl()<pre> A URL of the input message type. final UnitclearRequestStreaming()<pre> If true, the request is streamed. final UnitclearResponseTypeUrl()<pre> The URL of the output message type. final UnitclearResponseStreaming()<pre> If true, the response is streamed. final UnitclearSyntax()<pre> The source syntax of this method. -
-
Method Detail
-
getRequestTypeUrl
final String getRequestTypeUrl()
-
setRequestTypeUrl
final Unit setRequestTypeUrl(String requestTypeUrl)
-
getRequestStreaming
final Boolean getRequestStreaming()
-
setRequestStreaming
final Unit setRequestStreaming(Boolean requestStreaming)
-
getResponseTypeUrl
final String getResponseTypeUrl()
-
setResponseTypeUrl
final Unit setResponseTypeUrl(String responseTypeUrl)
-
getResponseStreaming
final Boolean getResponseStreaming()
-
setResponseStreaming
final Unit setResponseStreaming(Boolean responseStreaming)
-
getSyntax
final Syntax getSyntax()
-
clearName
final Unit clearName()
<pre> The simple name of this method. </pre><code>string name = 1;</code>
-
clearRequestTypeUrl
final Unit clearRequestTypeUrl()
<pre> A URL of the input message type. </pre><code>string request_type_url = 2;</code>
-
clearRequestStreaming
final Unit clearRequestStreaming()
<pre> If true, the request is streamed. </pre><code>bool request_streaming = 3;</code>
-
clearResponseTypeUrl
final Unit clearResponseTypeUrl()
<pre> The URL of the output message type. </pre><code>string response_type_url = 4;</code>
-
clearResponseStreaming
final Unit clearResponseStreaming()
<pre> If true, the response is streamed. </pre><code>bool response_streaming = 5;</code>
-
clearSyntax
final Unit clearSyntax()
<pre> The source syntax of this method. </pre><code>.google.protobuf.Syntax syntax = 7;</code>
-
-
-
-