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

com.pulumi.googlenative.dataplex.v1.kotlin.enums.GoogleCloudDataplexV1SchemaSchemaFieldMode.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.dataplex.v1.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * Required. Additional field semantics.
 */
public enum class GoogleCloudDataplexV1SchemaSchemaFieldMode(
    public val javaValue: com.pulumi.googlenative.dataplex.v1.enums.GoogleCloudDataplexV1SchemaSchemaFieldMode,
) :
    ConvertibleToJava {
    /**
     * Mode unspecified.
     */
    ModeUnspecified(com.pulumi.googlenative.dataplex.v1.enums.GoogleCloudDataplexV1SchemaSchemaFieldMode.ModeUnspecified),

    /**
     * The field has required semantics.
     */
    Required(com.pulumi.googlenative.dataplex.v1.enums.GoogleCloudDataplexV1SchemaSchemaFieldMode.Required),

    /**
     * The field has optional semantics, and may be null.
     */
    Nullable(com.pulumi.googlenative.dataplex.v1.enums.GoogleCloudDataplexV1SchemaSchemaFieldMode.Nullable),

    /**
     * The field has repeated (0 or more) semantics, and is a list of values.
     */
    Repeated(com.pulumi.googlenative.dataplex.v1.enums.GoogleCloudDataplexV1SchemaSchemaFieldMode.Repeated),
    ;

    override fun toJava(): com.pulumi.googlenative.dataplex.v1.enums.GoogleCloudDataplexV1SchemaSchemaFieldMode =
        javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.dataplex.v1.enums.GoogleCloudDataplexV1SchemaSchemaFieldMode): GoogleCloudDataplexV1SchemaSchemaFieldMode =
            GoogleCloudDataplexV1SchemaSchemaFieldMode.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy