Enum KeyRecipe.Part.NullOrder

java.lang.Object
java.lang.Enum<KeyRecipe.Part.NullOrder>
com.google.spanner.v1.KeyRecipe.Part.NullOrder
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<KeyRecipe.Part.NullOrder>
Enclosing class:
KeyRecipe.Part

public static enum KeyRecipe.Part.NullOrder extends Enum<KeyRecipe.Part.NullOrder> implements com.google.protobuf.ProtocolMessageEnum
 The null order of the key column. This dictates where NULL values sort
 in the sorted order. Note that columns which are `NOT NULL` can have a
 special encoding.
 
Protobuf enum google.spanner.v1.KeyRecipe.Part.NullOrder
  • Enum Constant Details

    • NULL_ORDER_UNSPECIFIED

      public static final KeyRecipe.Part.NullOrder NULL_ORDER_UNSPECIFIED
       Default value. This value is unused.
       
      NULL_ORDER_UNSPECIFIED = 0;
    • NULLS_FIRST

      public static final KeyRecipe.Part.NullOrder NULLS_FIRST
       NULL values sort before any non-NULL values.
       
      NULLS_FIRST = 1;
    • NULLS_LAST

      public static final KeyRecipe.Part.NullOrder NULLS_LAST
       NULL values sort after any non-NULL values.
       
      NULLS_LAST = 2;
    • NOT_NULL

      public static final KeyRecipe.Part.NullOrder NOT_NULL
       The column does not support NULL values.
       
      NOT_NULL = 3;
    • UNRECOGNIZED

      public static final KeyRecipe.Part.NullOrder UNRECOGNIZED
  • Field Details

    • NULL_ORDER_UNSPECIFIED_VALUE

      public static final int NULL_ORDER_UNSPECIFIED_VALUE
       Default value. This value is unused.
       
      NULL_ORDER_UNSPECIFIED = 0;
      See Also:
    • NULLS_FIRST_VALUE

      public static final int NULLS_FIRST_VALUE
       NULL values sort before any non-NULL values.
       
      NULLS_FIRST = 1;
      See Also:
    • NULLS_LAST_VALUE

      public static final int NULLS_LAST_VALUE
       NULL values sort after any non-NULL values.
       
      NULLS_LAST = 2;
      See Also:
    • NOT_NULL_VALUE

      public static final int NOT_NULL_VALUE
       The column does not support NULL values.
       
      NOT_NULL = 3;
      See Also:
  • Method Details

    • values

      public static KeyRecipe.Part.NullOrder[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static KeyRecipe.Part.NullOrder valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

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

      @Deprecated public static KeyRecipe.Part.NullOrder valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static KeyRecipe.Part.NullOrder forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<KeyRecipe.Part.NullOrder> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static KeyRecipe.Part.NullOrder valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null