Constructs a new CacheItem.
Optional
properties: ICacheItemProperties to set
Optional
jobThe 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
Static
createCreates a new CacheItem instance using the specified properties.
Optional
properties: ICacheItemProperties to set
CacheItem instance
Static
decodeDecodes a CacheItem message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
CacheItem
Static
decodeDecodes a CacheItem message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
CacheItem
Static
encodeEncodes the specified CacheItem message. Does not implicitly {@apilink oracle_job.OracleJob.CacheTask.CacheItem.verify|verify} messages.
CacheItem message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes 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
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a CacheItem message from a plain object. Also converts values to their respective internal types.
Plain object
CacheItem
Static
getGets the default type url for CacheItem
Optional
typeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
Static
toCreates a plain object from a CacheItem message. Also converts values to other types if specified.
CacheItem
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyVerifies a CacheItem message.
Plain object to verify
null
if valid, otherwise the reason why it is not
Represents a CacheItem.