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

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

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

package com.authzed.api.v1;

@kotlin.jvm.JvmName("-initializepartialCaveatInfo")
public inline fun partialCaveatInfo(block: com.authzed.api.v1.PartialCaveatInfoKt.Dsl.() -> kotlin.Unit): com.authzed.api.v1.Core.PartialCaveatInfo =
  com.authzed.api.v1.PartialCaveatInfoKt.Dsl._create(com.authzed.api.v1.Core.PartialCaveatInfo.newBuilder()).apply { block() }._build()
public object PartialCaveatInfoKt {
  @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.Core.PartialCaveatInfo.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: com.authzed.api.v1.Core.PartialCaveatInfo.Builder): Dsl = Dsl(builder)
    }

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

    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    public class MissingRequiredContextProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * 
     * missing_required_context is a list of one or more fields that were missing and prevented caveats
     * from being fully evaluated
     * 
* * repeated string missing_required_context = 1 [(.validate.rules) = { ... } * @return A list containing the missingRequiredContext. */ public val missingRequiredContext: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getMissingRequiredContextList() ) /** *
     * missing_required_context is a list of one or more fields that were missing and prevented caveats
     * from being fully evaluated
     * 
* * repeated string missing_required_context = 1 [(.validate.rules) = { ... } * @param value The missingRequiredContext to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addMissingRequiredContext") public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { _builder.addMissingRequiredContext(value) } /** *
     * missing_required_context is a list of one or more fields that were missing and prevented caveats
     * from being fully evaluated
     * 
* * repeated string missing_required_context = 1 [(.validate.rules) = { ... } * @param value The missingRequiredContext to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignMissingRequiredContext") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { add(value) } /** *
     * missing_required_context is a list of one or more fields that were missing and prevented caveats
     * from being fully evaluated
     * 
* * repeated string missing_required_context = 1 [(.validate.rules) = { ... } * @param values The missingRequiredContext to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllMissingRequiredContext") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllMissingRequiredContext(values) } /** *
     * missing_required_context is a list of one or more fields that were missing and prevented caveats
     * from being fully evaluated
     * 
* * repeated string missing_required_context = 1 [(.validate.rules) = { ... } * @param values The missingRequiredContext to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllMissingRequiredContext") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** *
     * missing_required_context is a list of one or more fields that were missing and prevented caveats
     * from being fully evaluated
     * 
* * repeated string missing_required_context = 1 [(.validate.rules) = { ... } * @param index The index to set the value at. * @param value The missingRequiredContext to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setMissingRequiredContext") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { _builder.setMissingRequiredContext(index, value) }/** *
     * missing_required_context is a list of one or more fields that were missing and prevented caveats
     * from being fully evaluated
     * 
* * repeated string missing_required_context = 1 [(.validate.rules) = { ... } */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearMissingRequiredContext") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearMissingRequiredContext() }} } @kotlin.jvm.JvmSynthetic public inline fun com.authzed.api.v1.Core.PartialCaveatInfo.copy(block: com.authzed.api.v1.PartialCaveatInfoKt.Dsl.() -> kotlin.Unit): com.authzed.api.v1.Core.PartialCaveatInfo = com.authzed.api.v1.PartialCaveatInfoKt.Dsl._create(this.toBuilder()).apply { block() }._build()




© 2015 - 2025 Weber Informatics LLC | Privacy Policy