-
public final class MethodOptionsKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
MethodOptionsKt.Dsl.Companion
public final class
MethodOptionsKt.Dsl.UninterpretedOptionProxy
An uninstantiable, behaviorless type to represent the field in generics.
-
Field Summary
Fields Modifier and Type Field Description private Boolean
deprecated
private DescriptorProtos.MethodOptions.IdempotencyLevel
idempotencyLevel
private final DslList<DescriptorProtos.UninterpretedOption, MethodOptionsKt.Dsl.UninterpretedOptionProxy>
uninterpretedOption
-
Method Summary
Modifier and Type Method Description final Boolean
getDeprecated()
final Unit
setDeprecated(Boolean deprecated)
final DescriptorProtos.MethodOptions.IdempotencyLevel
getIdempotencyLevel()
final Unit
setIdempotencyLevel(DescriptorProtos.MethodOptions.IdempotencyLevel idempotencyLevel)
final Unit
clearDeprecated()
<pre> Is this method deprecated? final Boolean
hasDeprecated()
<pre> Is this method deprecated? final Unit
clearIdempotencyLevel()
<code>optional .google.protobuf.MethodOptions. final Boolean
hasIdempotencyLevel()
<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>
-
-
-
-