public final class TimeOfDay
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Storage Transfer API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
TimeOfDay() |
Modifier and Type | Method and Description |
---|---|
TimeOfDay |
clone() |
java.lang.Integer |
getHours()
Hours of day in 24 hour format.
|
java.lang.Integer |
getMinutes()
Minutes of hour of day.
|
java.lang.Integer |
getNanos()
Fractions of seconds in nanoseconds.
|
java.lang.Integer |
getSeconds()
Seconds of minutes of the time.
|
TimeOfDay |
set(java.lang.String fieldName,
java.lang.Object value) |
TimeOfDay |
setHours(java.lang.Integer hours)
Hours of day in 24 hour format.
|
TimeOfDay |
setMinutes(java.lang.Integer minutes)
Minutes of hour of day.
|
TimeOfDay |
setNanos(java.lang.Integer nanos)
Fractions of seconds in nanoseconds.
|
TimeOfDay |
setSeconds(java.lang.Integer seconds)
Seconds of minutes of the time.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Integer getHours()
null
for nonepublic TimeOfDay setHours(java.lang.Integer hours)
hours
- hours or null
for nonepublic java.lang.Integer getMinutes()
null
for nonepublic TimeOfDay setMinutes(java.lang.Integer minutes)
minutes
- minutes or null
for nonepublic java.lang.Integer getNanos()
null
for nonepublic TimeOfDay setNanos(java.lang.Integer nanos)
nanos
- nanos or null
for nonepublic java.lang.Integer getSeconds()
null
for nonepublic TimeOfDay setSeconds(java.lang.Integer seconds)
seconds
- seconds or null
for nonepublic TimeOfDay set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public TimeOfDay clone()
clone
in class com.google.api.client.json.GenericJson