grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitionsKt.kt Maven / Gradle / Ivy
The newest version!
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: protoc-gen-openapiv2/options/openapiv2.proto
package grpc.gateway.protoc_gen_openapiv2.options;
@kotlin.jvm.JvmName("-initializesecurityDefinitions")
public inline fun securityDefinitions(block: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitionsKt.Dsl.() -> kotlin.Unit): grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.SecurityDefinitions =
grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitionsKt.Dsl._create(grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.SecurityDefinitions.newBuilder()).apply { block() }._build()
public object SecurityDefinitionsKt {
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
@com.google.protobuf.kotlin.ProtoDslMarker
public class Dsl private constructor(
private val _builder: grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.SecurityDefinitions.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.SecurityDefinitions.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.SecurityDefinitions = _builder.build()
/**
* An uninstantiable, behaviorless type to represent the field in
* generics.
*/
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
public class SecurityProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
/**
*
* A single security scheme definition, mapping a "name" to the scheme it
* defines.
*
*
* map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1;
*/
public val security: com.google.protobuf.kotlin.DslMap
@kotlin.jvm.JvmSynthetic
@JvmName("getSecurityMap")
get() = com.google.protobuf.kotlin.DslMap(
_builder.getSecurityMap()
)
/**
*
* A single security scheme definition, mapping a "name" to the scheme it
* defines.
*
*
* map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1;
*/
@JvmName("putSecurity")
public fun com.google.protobuf.kotlin.DslMap
.put(key: kotlin.String, value: grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.SecurityScheme) {
_builder.putSecurity(key, value)
}
/**
*
* A single security scheme definition, mapping a "name" to the scheme it
* defines.
*
*
* map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1;
*/
@kotlin.jvm.JvmSynthetic
@JvmName("setSecurity")
@Suppress("NOTHING_TO_INLINE")
public inline operator fun com.google.protobuf.kotlin.DslMap
.set(key: kotlin.String, value: grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.SecurityScheme) {
put(key, value)
}
/**
*
* A single security scheme definition, mapping a "name" to the scheme it
* defines.
*
*
* map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1;
*/
@kotlin.jvm.JvmSynthetic
@JvmName("removeSecurity")
public fun com.google.protobuf.kotlin.DslMap
.remove(key: kotlin.String) {
_builder.removeSecurity(key)
}
/**
*
* A single security scheme definition, mapping a "name" to the scheme it
* defines.
*
*
* map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1;
*/
@kotlin.jvm.JvmSynthetic
@JvmName("putAllSecurity")
public fun com.google.protobuf.kotlin.DslMap
.putAll(map: kotlin.collections.Map) {
_builder.putAllSecurity(map)
}
/**
*
* A single security scheme definition, mapping a "name" to the scheme it
* defines.
*
*
* map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1;
*/
@kotlin.jvm.JvmSynthetic
@JvmName("clearSecurity")
public fun com.google.protobuf.kotlin.DslMap
.clear() {
_builder.clearSecurity()
}
}
}
@kotlin.jvm.JvmSynthetic
public inline fun grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.SecurityDefinitions.copy(block: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitionsKt.Dsl.() -> kotlin.Unit): grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.SecurityDefinitions =
grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitionsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
© 2015 - 2025 Weber Informatics LLC | Privacy Policy