Constructs a new OracleFeed.
Optional
properties: IOracleFeedProperties to set
A list of jobs to be performed by the oracle.
Maximum allowed percentage deviation between job responses.
The minimum number of jobs required to succeed in order to produce a result.
The number of oracles to sample before returning a result.
OracleFeed name.
Converts this OracleFeed to JSON.
JSON object
Static
createCreates a new OracleFeed instance using the specified properties.
Optional
properties: IOracleFeedProperties to set
OracleFeed instance
Static
decodeDecodes an OracleFeed message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
OracleFeed
Static
decodeDecodes an OracleFeed message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
OracleFeed
Static
encodeEncodes the specified OracleFeed message. Does not implicitly {@apilink oracle_job.OracleFeed.verify|verify} messages.
OracleFeed message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified OracleFeed message, length delimited. Does not implicitly {@apilink oracle_job.OracleFeed.verify|verify} messages.
OracleFeed message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates an OracleFeed message from a plain object. Also converts values to their respective internal types.
Plain object
OracleFeed
Static
getGets the default type url for OracleFeed
Optional
typeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
Static
toCreates a plain object from an OracleFeed message. Also converts values to other types if specified.
OracleFeed
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyVerifies an OracleFeed message.
Plain object to verify
null
if valid, otherwise the reason why it is not
Represents a complete feed schema to be performed by a Switchboard oracle.