Interface Expression.Literal.PrecisionTimeOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Expression.Literal.PrecisionTime, Expression.Literal.PrecisionTime.Builder
Enclosing class:
Expression.Literal

public static interface Expression.Literal.PrecisionTimeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Sub-second precision, 0 means the value given is in seconds, 3 is milliseconds, 6 microseconds, 9 is nanoseconds, 12 is picoseconds
    long
    Time passed since midnight in precision units.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getPrecision

      int getPrecision()
       Sub-second precision, 0 means the value given is in seconds, 3 is milliseconds, 6 microseconds, 9 is nanoseconds, 12 is picoseconds
       
      int32 precision = 1;
      Returns:
      The precision.
    • getValue

      long getValue()
       Time passed since midnight in precision units.
       
      int64 value = 2;
      Returns:
      The value.