All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.authzed.api.v1.DebugInformationKt.kt Maven / Gradle / Ivy

The newest version!
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: authzed/api/v1/debug.proto

package com.authzed.api.v1;

@kotlin.jvm.JvmName("-initializedebugInformation")
public inline fun debugInformation(block: com.authzed.api.v1.DebugInformationKt.Dsl.() -> kotlin.Unit): com.authzed.api.v1.Debug.DebugInformation =
  com.authzed.api.v1.DebugInformationKt.Dsl._create(com.authzed.api.v1.Debug.DebugInformation.newBuilder()).apply { block() }._build()
public object DebugInformationKt {
  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
  @com.google.protobuf.kotlin.ProtoDslMarker
  public class Dsl private constructor(
    private val _builder: com.authzed.api.v1.Debug.DebugInformation.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: com.authzed.api.v1.Debug.DebugInformation.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): com.authzed.api.v1.Debug.DebugInformation = _builder.build()

    /**
     * 
     * check holds debug information about a check request.
     * 
* * .authzed.api.v1.CheckDebugTrace check = 1; */ public var check: com.authzed.api.v1.Debug.CheckDebugTrace @JvmName("getCheck") get() = _builder.getCheck() @JvmName("setCheck") set(value) { _builder.setCheck(value) } /** *
     * check holds debug information about a check request.
     * 
* * .authzed.api.v1.CheckDebugTrace check = 1; */ public fun clearCheck() { _builder.clearCheck() } /** *
     * check holds debug information about a check request.
     * 
* * .authzed.api.v1.CheckDebugTrace check = 1; * @return Whether the check field is set. */ public fun hasCheck(): kotlin.Boolean { return _builder.hasCheck() } /** *
     * schema_used holds the schema used for the request.
     * 
* * string schema_used = 2; */ public var schemaUsed: kotlin.String @JvmName("getSchemaUsed") get() = _builder.getSchemaUsed() @JvmName("setSchemaUsed") set(value) { _builder.setSchemaUsed(value) } /** *
     * schema_used holds the schema used for the request.
     * 
* * string schema_used = 2; */ public fun clearSchemaUsed() { _builder.clearSchemaUsed() } } } @kotlin.jvm.JvmSynthetic public inline fun com.authzed.api.v1.Debug.DebugInformation.copy(block: com.authzed.api.v1.DebugInformationKt.Dsl.() -> kotlin.Unit): com.authzed.api.v1.Debug.DebugInformation = com.authzed.api.v1.DebugInformationKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val com.authzed.api.v1.Debug.DebugInformationOrBuilder.checkOrNull: com.authzed.api.v1.Debug.CheckDebugTrace? get() = if (hasCheck()) getCheck() else null




© 2015 - 2025 Weber Informatics LLC | Privacy Policy