接口 InstantOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
Instant, Instant.Builder

public interface InstantOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型
    方法
    说明
    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.

    从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    从接口继承的方法 com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 方法详细资料

    • getSeconds

      long getSeconds()
       The number of seconds from the epoch of 1970-01-01T00:00:00Z.
       
      int64 seconds = 1;
      返回:
      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;
      返回:
      The nanos.