org.jetbrains.kotlin.backend.common.serialization.proto.IrSimpleTypeNullability Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: compiler/ir/serialization.common/src/KotlinIr.proto
package org.jetbrains.kotlin.backend.common.serialization.proto;
/**
* Protobuf enum {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrSimpleTypeNullability}
*/
public enum IrSimpleTypeNullability
implements org.jetbrains.kotlin.protobuf.Internal.EnumLite {
/**
* MARKED_NULLABLE = 0;
*/
MARKED_NULLABLE(0, 0),
/**
* NOT_SPECIFIED = 1;
*/
NOT_SPECIFIED(1, 1),
/**
* DEFINITELY_NOT_NULL = 2;
*/
DEFINITELY_NOT_NULL(2, 2),
;
/**
* MARKED_NULLABLE = 0;
*/
public static final int MARKED_NULLABLE_VALUE = 0;
/**
* NOT_SPECIFIED = 1;
*/
public static final int NOT_SPECIFIED_VALUE = 1;
/**
* DEFINITELY_NOT_NULL = 2;
*/
public static final int DEFINITELY_NOT_NULL_VALUE = 2;
public final int getNumber() { return value; }
public static IrSimpleTypeNullability valueOf(int value) {
switch (value) {
case 0: return MARKED_NULLABLE;
case 1: return NOT_SPECIFIED;
case 2: return DEFINITELY_NOT_NULL;
default: return null;
}
}
public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalValueMap =
new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap() {
public IrSimpleTypeNullability findValueByNumber(int number) {
return IrSimpleTypeNullability.valueOf(number);
}
};
private final int value;
private IrSimpleTypeNullability(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrSimpleTypeNullability)
}