-
public final class ServiceOptionsKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classServiceOptionsKt.Dsl.Companionpublic final classServiceOptionsKt.Dsl.UninterpretedOptionProxyAn uninstantiable, behaviorless type to represent the field in generics.
-
Field Summary
Fields Modifier and Type Field Description private Booleandeprecatedprivate final DslList<DescriptorProtos.UninterpretedOption, ServiceOptionsKt.Dsl.UninterpretedOptionProxy>uninterpretedOption
-
Method Summary
Modifier and Type Method Description final BooleangetDeprecated()final UnitsetDeprecated(Boolean deprecated)final UnitclearDeprecated()<pre> Is this service deprecated? final BooleanhasDeprecated()<pre> Is this service deprecated? -
-
Method Detail
-
getDeprecated
final Boolean getDeprecated()
-
setDeprecated
final Unit setDeprecated(Boolean deprecated)
-
clearDeprecated
final Unit clearDeprecated()
<pre> Is this service deprecated? Depending on the target platform, this can emit Deprecated annotations for the service, or it will be completely ignored; in the very least, this is a formalization for deprecating services. </pre><code>optional bool deprecated = 33 default = false;</code>
-
hasDeprecated
final Boolean hasDeprecated()
<pre> Is this service deprecated? Depending on the target platform, this can emit Deprecated annotations for the service, or it will be completely ignored; in the very least, this is a formalization for deprecating services. </pre><code>optional bool deprecated = 33 default = false;</code>
-
-
-
-