Constructs a new SysclockOffsetTask.
Optional
properties: ISysclockOffsetTaskProperties to set
Converts this SysclockOffsetTask to JSON.
JSON object
Static
createCreates a new SysclockOffsetTask instance using the specified properties.
Optional
properties: ISysclockOffsetTaskProperties to set
SysclockOffsetTask instance
Static
decodeDecodes a SysclockOffsetTask message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
SysclockOffsetTask
Static
decodeDecodes a SysclockOffsetTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
SysclockOffsetTask
Static
encodeEncodes the specified SysclockOffsetTask message. Does not implicitly verify messages.
SysclockOffsetTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified SysclockOffsetTask message, length delimited. Does not implicitly verify messages.
SysclockOffsetTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a SysclockOffsetTask message from a plain object. Also converts values to their respective internal types.
Plain object
SysclockOffsetTask
Static
getGets the default type url for SysclockOffsetTask
Optional
typeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
Static
toCreates a plain object from a SysclockOffsetTask message. Also converts values to other types if specified.
SysclockOffsetTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyVerifies a SysclockOffsetTask message.
Plain object to verify
null
if valid, otherwise the reason why it is not
Return the difference between an oracle's clock and the current timestamp at
SYSVAR_CLOCK_PUBKEY
.