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

io.envoyproxy.pgv.validate.BoolRulesKt.kt Maven / Gradle / Ivy

The newest version!
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: validate/validate.proto

package io.envoyproxy.pgv.validate;

@kotlin.jvm.JvmName("-initializeboolRules")
public inline fun boolRules(block: io.envoyproxy.pgv.validate.BoolRulesKt.Dsl.() -> kotlin.Unit): io.envoyproxy.pgv.validate.Validate.BoolRules =
  io.envoyproxy.pgv.validate.BoolRulesKt.Dsl._create(io.envoyproxy.pgv.validate.Validate.BoolRules.newBuilder()).apply { block() }._build()
public object BoolRulesKt {
  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
  @com.google.protobuf.kotlin.ProtoDslMarker
  public class Dsl private constructor(
    private val _builder: io.envoyproxy.pgv.validate.Validate.BoolRules.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: io.envoyproxy.pgv.validate.Validate.BoolRules.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): io.envoyproxy.pgv.validate.Validate.BoolRules = _builder.build()

    /**
     * 
     * Const specifies that this field must be exactly the specified value
     * 
* * optional bool const = 1; */ public var const: kotlin.Boolean @JvmName("getConst") get() = _builder.getConst() @JvmName("setConst") set(value) { _builder.setConst(value) } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional bool const = 1; */ public fun clearConst() { _builder.clearConst() } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional bool const = 1; * @return Whether the const field is set. */ public fun hasConst(): kotlin.Boolean { return _builder.hasConst() } } } @kotlin.jvm.JvmSynthetic public inline fun io.envoyproxy.pgv.validate.Validate.BoolRules.copy(block: io.envoyproxy.pgv.validate.BoolRulesKt.Dsl.() -> kotlin.Unit): io.envoyproxy.pgv.validate.Validate.BoolRules = io.envoyproxy.pgv.validate.BoolRulesKt.Dsl._create(this.toBuilder()).apply { block() }._build()




© 2015 - 2025 Weber Informatics LLC | Privacy Policy