Package io.opencensus.common
Class AutoValue_Duration
java.lang.Object
io.opencensus.common.Duration
io.opencensus.common.AutoValue_Duration
- All Implemented Interfaces:
Comparable<Duration>
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Duration
extends Duration
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.opencensus.common.Duration
compareTo, create, fromMillis, toMillis
-
Field Details
-
seconds
private final long seconds -
nanos
private final int nanos
-
-
Constructor Details
-
AutoValue_Duration
AutoValue_Duration(long seconds, int nanos)
-
-
Method Details
-
getSeconds
public long getSeconds()Description copied from class:Duration
Returns the number of seconds in theDuration
.- Specified by:
getSeconds
in classDuration
- Returns:
- the number of seconds in the
Duration
.
-
getNanos
public int getNanos()Description copied from class:Duration
Returns the number of nanoseconds in theDuration
. -
toString
-
equals
-
hashCode
public int hashCode()
-