@Generated(value="by GAPIC") @BetaApi public final class Duration extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Duration.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
static Duration |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
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.
|
int |
hashCode() |
static Duration.Builder |
newBuilder() |
static Duration.Builder |
newBuilder(Duration prototype) |
Duration.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public Integer getNanos()
public String getSeconds()
public static Duration.Builder newBuilder()
public static Duration.Builder newBuilder(Duration prototype)
public Duration.Builder toBuilder()
public static Duration getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.