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

org.jetbrains.kotlin.backend.common.serialization.proto.IrSimpleTypeNullability Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
// 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)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy