Send feedback
Class MethodDescriptorProtoKt.Dsl (3.19.4)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class MethodDescriptorProtoKt . Dsl
Static Fields
Companion
public static final MethodDescriptorProtoKt . Dsl . Companion Companion
Companion
public static final MethodDescriptorProtoKt . Dsl . Companion Companion
Methods
clearClientStreaming()
public final void clearClientStreaming ()
public final void clearInputType ()
clearName()
public final void clearName ()
clearOptions()
public final void clearOptions ()
clearOutputType()
public final void clearOutputType ()
clearServerStreaming()
public final void clearServerStreaming ()
getClientStreaming()
public final boolean getClientStreaming ()
public final String getInputType ()
Returns
Type
Description
String
getName()
public final String getName ()
Returns
Type
Description
String
getOptions()
public final DescriptorProtos . MethodOptions getOptions ()
getOutputType()
public final String getOutputType ()
Returns
Type
Description
String
getServerStreaming()
public final boolean getServerStreaming ()
hasClientStreaming()
public final boolean hasClientStreaming ()
public final boolean hasInputType ()
hasName()
public final boolean hasName ()
hasOptions()
public final boolean hasOptions ()
hasOutputType()
public final boolean hasOutputType ()
hasServerStreaming()
public final boolean hasServerStreaming ()
setClientStreaming(boolean arg0)
public final void setClientStreaming ( boolean arg0 )
Parameter
Name
Description
arg0
boolean
public final void setInputType ( String arg0 )
Parameter
Name
Description
arg0
String
setName(String arg0)
public final void setName ( String arg0 )
Parameter
Name
Description
arg0
String
setOptions(DescriptorProtos.MethodOptions arg0)
public final void setOptions ( DescriptorProtos . MethodOptions arg0 )
setOutputType(String arg0)
public final void setOutputType ( String arg0 )
Parameter
Name
Description
arg0
String
setServerStreaming(boolean arg0)
public final void setServerStreaming ( boolean arg0 )
Parameter
Name
Description
arg0
boolean
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-13 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-13 UTC."],[],[]]