Class: ResetPointInfo
ResetPointInfo records the workflow event id that is the first one processed by a given build id or binary checksum. A new reset point will be created if either build id or binary checksum changes (although in general only one or the other will be used at a time).
Properties
binaryChecksum
binaryChecksum:
string
Deprecated. A worker binary version identifier.
buildId
buildId:
string
Worker build id.
createTime?
optionalcreateTime?:$Properties|null
ResetPointInfo createTime.
expireTime?
optionalexpireTime?:$Properties|null
(-- api-linter: core::0214::resource-expiry=disabled aip.dev/not-precedent: TTL is not defined for ResetPointInfo. --) The time that the run is deleted due to retention.
firstWorkflowTaskCompletedId
firstWorkflowTaskCompletedId:
Long
Event ID of the first WorkflowTaskCompleted event processed by this worker build.
resettable
resettable:
boolean
false if the reset point has pending childWFs/reqCancels/signalExternals.
runId
runId:
string
The first run ID in the execution chain that was touched by this worker build.
Methods
toJSON()
toJSON():
object
Converts this ResetPointInfo to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):ResetPointInfo&$Properties
Creates a new ResetPointInfo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ResetPointInfo & $Properties
ResetPointInfo instance
Call Signature
staticcreate(properties?):ResetPointInfo
Creates a new ResetPointInfo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ResetPointInfo
ResetPointInfo instance
decode()
staticdecode(reader,length?):ResetPointInfo&$Properties
Decodes a ResetPointInfo 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
ResetPointInfo & $Properties
ResetPointInfo
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):ResetPointInfo&$Properties
Decodes a ResetPointInfo message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
ResetPointInfo & $Properties
ResetPointInfo
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 ResetPointInfo message. Does not implicitly temporal.api.workflow.v1.ResetPointInfo.verify|verify messages.
Parameters
message
ResetPointInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified ResetPointInfo message, length delimited. Does not implicitly temporal.api.workflow.v1.ResetPointInfo.verify|verify messages.
Parameters
message
ResetPointInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):ResetPointInfo
Creates a ResetPointInfo message from a plain object. Also converts values to their respective internal types.
Parameters
object
{[k: string]: any; }
Plain object
Returns
ResetPointInfo
ResetPointInfo
toObject()
statictoObject(message,options?):object
Creates a plain object from a ResetPointInfo message. Also converts values to other types if specified.
Parameters
message
ResetPointInfo
ResetPointInfo
options?
IConversionOptions
Conversion options
Returns
object
Plain object