Constructs a new UnixTimeTask.
Optionalproperties: IUnixTimeTaskProperties to set
Converts this UnixTimeTask to JSON.
JSON object
StaticcreateCreates a new UnixTimeTask instance using the specified properties.
Optionalproperties: IUnixTimeTaskProperties to set
UnixTimeTask instance
StaticdecodeDecodes an UnixTimeTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
UnixTimeTask
StaticdecodeDecodes an UnixTimeTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
UnixTimeTask
StaticencodeEncodes the specified UnixTimeTask message. Does not implicitly verify messages.
UnixTimeTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified UnixTimeTask message, length delimited. Does not implicitly verify messages.
UnixTimeTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates an UnixTimeTask message from a plain object. Also converts values to their respective internal types.
Plain object
UnixTimeTask
StaticgetGets the default type url for UnixTimeTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from an UnixTimeTask message. Also converts values to other types if specified.
UnixTimeTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies an UnixTimeTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
Get current time in seconds since Unix epoch.