Class: PollWorkflowExecutionTimeSkippingResponse
Represents a PollWorkflowExecutionTimeSkippingResponse.
Properties
failedReason
failedReason:
string
Set only when the result is FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_FAILED; explains why the fast-forward can no longer complete.
fastForwardInfo?
optionalfastForwardInfo?:$Properties|null
The execution's current fast-forward, if any.
fastForwardPollingResult
fastForwardPollingResult:
FastForwardPollingResult
The outcome of the poll for the fast-forward identified by the request's fast_forward_id.
Methods
toJSON()
toJSON():
object
Converts this PollWorkflowExecutionTimeSkippingResponse to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):PollWorkflowExecutionTimeSkippingResponse&$Properties
Creates a new PollWorkflowExecutionTimeSkippingResponse instance using the specified properties.
Parameters
properties?
Properties to set
Returns
PollWorkflowExecutionTimeSkippingResponse & $Properties
PollWorkflowExecutionTimeSkippingResponse instance
Call Signature
staticcreate(properties?):PollWorkflowExecutionTimeSkippingResponse
Creates a new PollWorkflowExecutionTimeSkippingResponse instance using the specified properties.
Parameters
properties?
Properties to set
Returns
PollWorkflowExecutionTimeSkippingResponse
PollWorkflowExecutionTimeSkippingResponse instance
decode()
staticdecode(reader,length?):PollWorkflowExecutionTimeSkippingResponse&$Properties
Decodes a PollWorkflowExecutionTimeSkippingResponse message from the specified reader or buffer.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
length?
number
Message length if known beforehand
Returns
PollWorkflowExecutionTimeSkippingResponse & $Properties
PollWorkflowExecutionTimeSkippingResponse
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):PollWorkflowExecutionTimeSkippingResponse&$Properties
Decodes a PollWorkflowExecutionTimeSkippingResponse message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
PollWorkflowExecutionTimeSkippingResponse & $Properties
PollWorkflowExecutionTimeSkippingResponse
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode()
staticencode(message,writer?):Writer
Encodes the specified PollWorkflowExecutionTimeSkippingResponse message. Does not implicitly temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingResponse.verify|verify messages.
Parameters
message
PollWorkflowExecutionTimeSkippingResponse message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified PollWorkflowExecutionTimeSkippingResponse message, length delimited. Does not implicitly temporal.api.workflowservice.v1.PollWorkflowExecutionTimeSkippingResponse.verify|verify messages.
Parameters
message
PollWorkflowExecutionTimeSkippingResponse message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):PollWorkflowExecutionTimeSkippingResponse
Creates a PollWorkflowExecutionTimeSkippingResponse message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
PollWorkflowExecutionTimeSkippingResponse
PollWorkflowExecutionTimeSkippingResponse
toObject()
statictoObject(message,options?):object
Creates a plain object from a PollWorkflowExecutionTimeSkippingResponse message. Also converts values to other types if specified.
Parameters
message
PollWorkflowExecutionTimeSkippingResponse
PollWorkflowExecutionTimeSkippingResponse
options?
IConversionOptions
Conversion options
Returns
object
Plain object