Enum ArrowSerializationOptions.PicosTimestampPrecision

java.lang.Object
java.lang.Enum<ArrowSerializationOptions.PicosTimestampPrecision>
com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.PicosTimestampPrecision
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ArrowSerializationOptions.PicosTimestampPrecision>
Enclosing class:
ArrowSerializationOptions

public static enum ArrowSerializationOptions.PicosTimestampPrecision extends Enum<ArrowSerializationOptions.PicosTimestampPrecision> implements com.google.protobuf.ProtocolMessageEnum
 The precision of the timestamp value in the Avro message. This precision
 will **only** be applied to the column(s) with the `TIMESTAMP_PICOS` type.
 
Protobuf enum google.cloud.bigquery.storage.v1.ArrowSerializationOptions.PicosTimestampPrecision
  • Enum Constant Details

    • PICOS_TIMESTAMP_PRECISION_UNSPECIFIED

      public static final ArrowSerializationOptions.PicosTimestampPrecision PICOS_TIMESTAMP_PRECISION_UNSPECIFIED
       Unspecified timestamp precision. The default precision is microseconds.
       
      PICOS_TIMESTAMP_PRECISION_UNSPECIFIED = 0;
    • TIMESTAMP_PRECISION_MICROS

      public static final ArrowSerializationOptions.PicosTimestampPrecision TIMESTAMP_PRECISION_MICROS
       Timestamp values returned by Read API will be truncated to microsecond
       level precision. The value will be encoded as Arrow TIMESTAMP type in a
       64 bit integer.
       
      TIMESTAMP_PRECISION_MICROS = 1;
    • TIMESTAMP_PRECISION_NANOS

      public static final ArrowSerializationOptions.PicosTimestampPrecision TIMESTAMP_PRECISION_NANOS
       Timestamp values returned by Read API will be truncated to nanosecond
       level precision. The value will be encoded as Arrow TIMESTAMP type in a
       64 bit integer.
       
      TIMESTAMP_PRECISION_NANOS = 2;
    • TIMESTAMP_PRECISION_PICOS

      public static final ArrowSerializationOptions.PicosTimestampPrecision TIMESTAMP_PRECISION_PICOS
       Read API will return full precision picosecond value. The value will be
       encoded as a string which conforms to ISO 8601 format.
       
      TIMESTAMP_PRECISION_PICOS = 3;
    • UNRECOGNIZED

      public static final ArrowSerializationOptions.PicosTimestampPrecision UNRECOGNIZED
  • Field Details

    • PICOS_TIMESTAMP_PRECISION_UNSPECIFIED_VALUE

      public static final int PICOS_TIMESTAMP_PRECISION_UNSPECIFIED_VALUE
       Unspecified timestamp precision. The default precision is microseconds.
       
      PICOS_TIMESTAMP_PRECISION_UNSPECIFIED = 0;
      See Also:
    • TIMESTAMP_PRECISION_MICROS_VALUE

      public static final int TIMESTAMP_PRECISION_MICROS_VALUE
       Timestamp values returned by Read API will be truncated to microsecond
       level precision. The value will be encoded as Arrow TIMESTAMP type in a
       64 bit integer.
       
      TIMESTAMP_PRECISION_MICROS = 1;
      See Also:
    • TIMESTAMP_PRECISION_NANOS_VALUE

      public static final int TIMESTAMP_PRECISION_NANOS_VALUE
       Timestamp values returned by Read API will be truncated to nanosecond
       level precision. The value will be encoded as Arrow TIMESTAMP type in a
       64 bit integer.
       
      TIMESTAMP_PRECISION_NANOS = 2;
      See Also:
    • TIMESTAMP_PRECISION_PICOS_VALUE

      public static final int TIMESTAMP_PRECISION_PICOS_VALUE
       Read API will return full precision picosecond value. The value will be
       encoded as a string which conforms to ISO 8601 format.
       
      TIMESTAMP_PRECISION_PICOS = 3;
      See Also:
  • Method Details

    • 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

      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.
      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 ArrowSerializationOptions.PicosTimestampPrecision 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<ArrowSerializationOptions.PicosTimestampPrecision> 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 ArrowSerializationOptions.PicosTimestampPrecision 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