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

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

//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: authzed/api/v1/permission_service.proto

package com.authzed.api.v1;

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

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

    /**
     * .authzed.api.v1.RelationshipFilter relationship_filter = 1 [(.validate.rules) = { ... }
     */
    public var relationshipFilter: com.authzed.api.v1.PermissionService.RelationshipFilter
      @JvmName("getRelationshipFilter")
      get() = _builder.getRelationshipFilter()
      @JvmName("setRelationshipFilter")
      set(value) {
        _builder.setRelationshipFilter(value)
      }
    /**
     * .authzed.api.v1.RelationshipFilter relationship_filter = 1 [(.validate.rules) = { ... }
     */
    public fun clearRelationshipFilter() {
      _builder.clearRelationshipFilter()
    }
    /**
     * .authzed.api.v1.RelationshipFilter relationship_filter = 1 [(.validate.rules) = { ... }
     * @return Whether the relationshipFilter field is set.
     */
    public fun hasRelationshipFilter(): kotlin.Boolean {
      return _builder.hasRelationshipFilter()
    }

    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    public class OptionalPreconditionsProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * 
     * To be bounded by configuration
     * 
* * repeated .authzed.api.v1.Precondition optional_preconditions = 2 [(.validate.rules) = { ... } */ public val optionalPreconditions: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getOptionalPreconditionsList() ) /** *
     * To be bounded by configuration
     * 
* * repeated .authzed.api.v1.Precondition optional_preconditions = 2 [(.validate.rules) = { ... } * @param value The optionalPreconditions to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addOptionalPreconditions") public fun com.google.protobuf.kotlin.DslList.add(value: com.authzed.api.v1.PermissionService.Precondition) { _builder.addOptionalPreconditions(value) } /** *
     * To be bounded by configuration
     * 
* * repeated .authzed.api.v1.Precondition optional_preconditions = 2 [(.validate.rules) = { ... } * @param value The optionalPreconditions to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignOptionalPreconditions") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.authzed.api.v1.PermissionService.Precondition) { add(value) } /** *
     * To be bounded by configuration
     * 
* * repeated .authzed.api.v1.Precondition optional_preconditions = 2 [(.validate.rules) = { ... } * @param values The optionalPreconditions to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllOptionalPreconditions") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllOptionalPreconditions(values) } /** *
     * To be bounded by configuration
     * 
* * repeated .authzed.api.v1.Precondition optional_preconditions = 2 [(.validate.rules) = { ... } * @param values The optionalPreconditions to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllOptionalPreconditions") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** *
     * To be bounded by configuration
     * 
* * repeated .authzed.api.v1.Precondition optional_preconditions = 2 [(.validate.rules) = { ... } * @param index The index to set the value at. * @param value The optionalPreconditions to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setOptionalPreconditions") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.authzed.api.v1.PermissionService.Precondition) { _builder.setOptionalPreconditions(index, value) } /** *
     * To be bounded by configuration
     * 
* * repeated .authzed.api.v1.Precondition optional_preconditions = 2 [(.validate.rules) = { ... } */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearOptionalPreconditions") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearOptionalPreconditions() } } } @kotlin.jvm.JvmSynthetic public inline fun com.authzed.api.v1.PermissionService.DeleteRelationshipsRequest.copy(block: com.authzed.api.v1.DeleteRelationshipsRequestKt.Dsl.() -> kotlin.Unit): com.authzed.api.v1.PermissionService.DeleteRelationshipsRequest = com.authzed.api.v1.DeleteRelationshipsRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val com.authzed.api.v1.PermissionService.DeleteRelationshipsRequestOrBuilder.relationshipFilterOrNull: com.authzed.api.v1.PermissionService.RelationshipFilter? get() = if (hasRelationshipFilter()) getRelationshipFilter() else null




© 2015 - 2025 Weber Informatics LLC | Privacy Policy