Enum Schema.Type

java.lang.Object
java.lang.Enum<Schema.Type>
com.google.cloud.dataplex.v1.Schema.Type
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Schema.Type>
Enclosing class:
Schema

public static enum Schema.Type extends Enum<Schema.Type> implements com.google.protobuf.ProtocolMessageEnum
 Type information for fields in schemas and partition schemas.
 
Protobuf enum google.cloud.dataplex.v1.Schema.Type
  • Enum Constant Details

    • TYPE_UNSPECIFIED

      public static final Schema.Type TYPE_UNSPECIFIED
       SchemaType unspecified.
       
      TYPE_UNSPECIFIED = 0;
    • BOOLEAN

      public static final Schema.Type BOOLEAN
       Boolean field.
       
      BOOLEAN = 1;
    • BYTE

      public static final Schema.Type BYTE
       Single byte numeric field.
       
      BYTE = 2;
    • INT16

      public static final Schema.Type INT16
       16-bit numeric field.
       
      INT16 = 3;
    • INT32

      public static final Schema.Type INT32
       32-bit numeric field.
       
      INT32 = 4;
    • INT64

      public static final Schema.Type INT64
       64-bit numeric field.
       
      INT64 = 5;
    • FLOAT

      public static final Schema.Type FLOAT
       Floating point numeric field.
       
      FLOAT = 6;
    • DOUBLE

      public static final Schema.Type DOUBLE
       Double precision numeric field.
       
      DOUBLE = 7;
    • DECIMAL

      public static final Schema.Type DECIMAL
       Real value numeric field.
       
      DECIMAL = 8;
    • STRING

      public static final Schema.Type STRING
       Sequence of characters field.
       
      STRING = 9;
    • BINARY

      public static final Schema.Type BINARY
       Sequence of bytes field.
       
      BINARY = 10;
    • TIMESTAMP

      public static final Schema.Type TIMESTAMP
       Date and time field.
       
      TIMESTAMP = 11;
    • DATE

      public static final Schema.Type DATE
       Date field.
       
      DATE = 12;
    • TIME

      public static final Schema.Type TIME
       Time field.
       
      TIME = 13;
    • RECORD

      public static final Schema.Type RECORD
       Structured field. Nested fields that define the structure of the map.
       If all nested fields are nullable, this field represents a union.
       
      RECORD = 14;
    • NULL

      public static final Schema.Type NULL
       Null field that does not have values.
       
      NULL = 100;
    • UNRECOGNIZED

      public static final Schema.Type UNRECOGNIZED
  • Field Details

    • TYPE_UNSPECIFIED_VALUE

      public static final int TYPE_UNSPECIFIED_VALUE
       SchemaType unspecified.
       
      TYPE_UNSPECIFIED = 0;
      See Also:
    • BOOLEAN_VALUE

      public static final int BOOLEAN_VALUE
       Boolean field.
       
      BOOLEAN = 1;
      See Also:
    • BYTE_VALUE

      public static final int BYTE_VALUE
       Single byte numeric field.
       
      BYTE = 2;
      See Also:
    • INT16_VALUE

      public static final int INT16_VALUE
       16-bit numeric field.
       
      INT16 = 3;
      See Also:
    • INT32_VALUE

      public static final int INT32_VALUE
       32-bit numeric field.
       
      INT32 = 4;
      See Also:
    • INT64_VALUE

      public static final int INT64_VALUE
       64-bit numeric field.
       
      INT64 = 5;
      See Also:
    • FLOAT_VALUE

      public static final int FLOAT_VALUE
       Floating point numeric field.
       
      FLOAT = 6;
      See Also:
    • DOUBLE_VALUE

      public static final int DOUBLE_VALUE
       Double precision numeric field.
       
      DOUBLE = 7;
      See Also:
    • DECIMAL_VALUE

      public static final int DECIMAL_VALUE
       Real value numeric field.
       
      DECIMAL = 8;
      See Also:
    • STRING_VALUE

      public static final int STRING_VALUE
       Sequence of characters field.
       
      STRING = 9;
      See Also:
    • BINARY_VALUE

      public static final int BINARY_VALUE
       Sequence of bytes field.
       
      BINARY = 10;
      See Also:
    • TIMESTAMP_VALUE

      public static final int TIMESTAMP_VALUE
       Date and time field.
       
      TIMESTAMP = 11;
      See Also:
    • DATE_VALUE

      public static final int DATE_VALUE
       Date field.
       
      DATE = 12;
      See Also:
    • TIME_VALUE

      public static final int TIME_VALUE
       Time field.
       
      TIME = 13;
      See Also:
    • RECORD_VALUE

      public static final int RECORD_VALUE
       Structured field. Nested fields that define the structure of the map.
       If all nested fields are nullable, this field represents a union.
       
      RECORD = 14;
      See Also:
    • NULL_VALUE

      public static final int NULL_VALUE
       Null field that does not have values.
       
      NULL = 100;
      See Also:
  • Method Details

    • values

      public static Schema.Type[] 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 Schema.Type 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 Schema.Type 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 Schema.Type 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<Schema.Type> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Schema.Type 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