Constructs a new CacheItem.
Optionalproperties: ICacheItemProperties to set
OptionaljobThe OracleJob to execute to yield the value to store in cache.
The name of the variable to store in cache to reference later with ${VARIABLE_NAME}.
Converts this CacheItem to JSON.
JSON object
StaticcreateCreates a new CacheItem instance using the specified properties.
Optionalproperties: ICacheItemProperties to set
CacheItem instance
StaticdecodeDecodes a CacheItem message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
CacheItem
StaticdecodeDecodes a CacheItem message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
CacheItem
StaticencodeEncodes the specified CacheItem message. Does not implicitly {@apilink oracle_job.OracleJob.CacheTask.CacheItem.verify|verify} messages.
CacheItem message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified CacheItem message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.CacheTask.CacheItem.verify|verify} messages.
CacheItem message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a CacheItem message from a plain object. Also converts values to their respective internal types.
Plain object
CacheItem
StaticgetGets the default type url for CacheItem
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a CacheItem message. Also converts values to other types if specified.
CacheItem
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a CacheItem message.
Plain object to verify
null if valid, otherwise the reason why it is not
Represents a CacheItem.