Interface DurationOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder
    All Known Implementing Classes:
    Duration, Duration.Builder

    @Generated
    public interface DurationOrBuilder
    extends com.google.protobuf.MessageLiteOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getNanos()
      int32 nanos = 2 [json_name = "nanos"];
      long getSeconds()
      int64 seconds = 1 [json_name = "seconds"];
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getSeconds

        long getSeconds()
        int64 seconds = 1 [json_name = "seconds"];
        Returns:
        The seconds.
      • getNanos

        int getNanos()
        int32 nanos = 2 [json_name = "nanos"];
        Returns:
        The nanos.