Interface Messages.DurationOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Messages.Duration, Messages.Duration.Builder
    Enclosing class:
    Messages

    public static interface Messages.DurationOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getNanos()
      Non-negative fractions of a second at nanosecond resolution.
      long getSeconds()
      int64 seconds = 1;
      • 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 Detail

      • getSeconds

        long getSeconds()
        int64 seconds = 1;
      • getNanos

        int getNanos()
         Non-negative fractions of a second at nanosecond resolution. Negative
         second values with fractions must still have non-negative nanos values
         that count forward in time. Must be from 0 to 999,999,999
         inclusive.
         
        int32 nanos = 2;