Package io.opencensus.common
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.opencensus.common.Timestamp
addDuration, addNanos, compareTo, create, fromMillis, subtractTimestamp
-
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 classTimestamp
- 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. -
toString
-
equals
-
hashCode
public int hashCode()
-