Package 

Class MethodOptionsKt.Dsl

    • Method Detail

      • 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>