Enum Class Id.IdCase

java.lang.Object
java.lang.Enum<Id.IdCase>
org.opensearch.protobufs.Id.IdCase
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, Serializable, Comparable<Id.IdCase>, Constable
Enclosing class:
Id

public static enum Id.IdCase extends Enum<Id.IdCase> implements com.google.protobuf.Internal.EnumLite
  • Enum Constant Details

    • NULL_VALUE

      public static final Id.IdCase NULL_VALUE
    • STRING

      public static final Id.IdCase STRING
    • ID_NOT_SET

      public static final Id.IdCase ID_NOT_SET
  • Method Details

    • values

      public static Id.IdCase[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Id.IdCase valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOf

      @Deprecated public static Id.IdCase valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Id.IdCase forNumber(int value)
    • getNumber

      public int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite