Interface InstantOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Instant, Instant.Builder

public interface InstantOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The number of nanoseconds, later along the time-line, from the seconds field.
    long
    The number of seconds from the epoch of 1970-01-01T00:00:00Z.

    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

    • getSeconds

      long getSeconds()
       The number of seconds from the epoch of 1970-01-01T00:00:00Z.
       
      int64 seconds = 1;
      Returns:
      The seconds.
    • getNanos

      int getNanos()
       The number of nanoseconds, later along the time-line, from the seconds field.
       This is always positive, and never exceeds 999,999,999.
       
      int32 nanos = 2;
      Returns:
      The nanos.