-
public final class MethodOptionsKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMethodOptionsKt.Dsl.Companionpublic final classMethodOptionsKt.Dsl.UninterpretedOptionProxyAn uninstantiable, behaviorless type to represent the field in generics.
-
Field Summary
Fields Modifier and Type Field Description private Booleandeprecatedprivate DescriptorProtos.MethodOptions.IdempotencyLevelidempotencyLevelprivate final DslList<DescriptorProtos.UninterpretedOption, MethodOptionsKt.Dsl.UninterpretedOptionProxy>uninterpretedOption
-
Method Summary
Modifier and Type Method Description final BooleangetDeprecated()final UnitsetDeprecated(Boolean deprecated)final DescriptorProtos.MethodOptions.IdempotencyLevelgetIdempotencyLevel()final UnitsetIdempotencyLevel(DescriptorProtos.MethodOptions.IdempotencyLevel idempotencyLevel)final UnitclearDeprecated()<pre> Is this method deprecated? final BooleanhasDeprecated()<pre> Is this method deprecated? final UnitclearIdempotencyLevel()<code>optional .google.protobuf.MethodOptions. final BooleanhasIdempotencyLevel()<code>optional .google.protobuf.MethodOptions. -
-
Method Detail
-
getDeprecated
final Boolean getDeprecated()
-
setDeprecated
final Unit setDeprecated(Boolean deprecated)
-
getIdempotencyLevel
final DescriptorProtos.MethodOptions.IdempotencyLevel getIdempotencyLevel()
-
setIdempotencyLevel
final Unit setIdempotencyLevel(DescriptorProtos.MethodOptions.IdempotencyLevel idempotencyLevel)
-
clearDeprecated
final Unit clearDeprecated()
<pre> Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods. </pre><code>optional bool deprecated = 33 default = false;</code>
-
hasDeprecated
final Boolean hasDeprecated()
<pre> Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods. </pre><code>optional bool deprecated = 33 default = false;</code>
-
clearIdempotencyLevel
final Unit clearIdempotencyLevel()
<code>optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 default = IDEMPOTENCY_UNKNOWN;</code>
-
hasIdempotencyLevel
final Boolean hasIdempotencyLevel()
<code>optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 default = IDEMPOTENCY_UNKNOWN;</code>
-
-
-
-