Enum Field.Mode

java.lang.Object
java.lang.Enum<Field.Mode>
com.google.cloud.bigquery.Field.Mode
All Implemented Interfaces:
Serializable, Comparable<Field.Mode>
Enclosing class:
Field

public static enum Field.Mode extends Enum<Field.Mode>
Mode for a BigQuery Table field. NULLABLE fields can be set to null, REQUIRED fields must be provided. REPEATED fields can contain more than one value.
  • Enum Constant Details

    • NULLABLE

      public static final Field.Mode NULLABLE
    • REQUIRED

      public static final Field.Mode REQUIRED
    • REPEATED

      public static final Field.Mode REPEATED
  • Method Details

    • values

      public static Field.Mode[] 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 Field.Mode 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