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 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:DurationReturns the number of seconds in theDuration.- Specified by:
getSecondsin classDuration- Returns:
- the number of seconds in the
Duration.
-
getNanos
-
toString
-
equals
-
hashCode
-