Class AutoValue_Timestamp

java.lang.Object
io.opencensus.common.Timestamp
io.opencensus.common.AutoValue_Timestamp
All Implemented Interfaces:
Comparable<Timestamp>

@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_Timestamp extends Timestamp
  • Field Details

    • seconds

      private final long seconds
    • nanos

      private final int nanos
  • Constructor Details

    • AutoValue_Timestamp

      AutoValue_Timestamp(long seconds, int nanos)
  • Method Details

    • getSeconds

      public long getSeconds()
      Description copied from class: Timestamp
      Returns the number of seconds since the Unix Epoch represented by this timestamp.
      Specified by:
      getSeconds in class Timestamp
      Returns:
      the number of seconds since the Unix Epoch.
    • getNanos

      public int getNanos()
      Description copied from class: Timestamp
      Returns the number of nanoseconds after the number of seconds since the Unix Epoch represented by this timestamp.
      Specified by:
      getNanos in class Timestamp
      Returns:
      the number of nanoseconds after the number of seconds since the Unix Epoch.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object