Modifier and Type | Method and Description |
---|---|
Duration |
build() |
Duration.Builder |
clone() |
Integer |
getNanos()
Span of time that's a fraction of a second at nanosecond resolution.
|
String |
getSeconds()
Span of time at a resolution of a second.
|
Duration.Builder |
mergeFrom(Duration other) |
Duration.Builder |
setNanos(Integer nanos)
Span of time that's a fraction of a second at nanosecond resolution.
|
Duration.Builder |
setSeconds(String seconds)
Span of time at a resolution of a second.
|
public Duration.Builder mergeFrom(Duration other)
public Integer getNanos()
public Duration.Builder setNanos(Integer nanos)
public String getSeconds()
public Duration.Builder setSeconds(String seconds)
public Duration build()
public Duration.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.