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).
Implements
Constructors
constructor
• new ResetPointInfo(properties?): ResetPointInfo
Constructs a new ResetPointInfo.
Parameters
| Name | Type | Description | 
|---|---|---|
| properties? | IResetPointInfo | Properties to set | 
Returns
Properties
binaryChecksum
• binaryChecksum: string
Deprecated. A worker binary version identifier.
Implementation of
IResetPointInfo.binaryChecksum
buildId
• buildId: string
Worker build id.
Implementation of
createTime
• Optional createTime: null | ITimestamp
ResetPointInfo createTime.
Implementation of
expireTime
• Optional expireTime: null | ITimestamp
(-- 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.
Implementation of
firstWorkflowTaskCompletedId
• firstWorkflowTaskCompletedId: Long
Event ID of the first WorkflowTaskCompleted event processed by this worker build.
Implementation of
IResetPointInfo.firstWorkflowTaskCompletedId
resettable
• resettable: boolean
false if the reset point has pending childWFs/reqCancels/signalExternals.
Implementation of
runId
• runId: string
The first run ID in the execution chain that was touched by this worker build.
Implementation of
Methods
toJSON
▸ toJSON(): Object
Converts this ResetPointInfo to JSON.
Returns
Object
JSON object
create
▸ create(properties?): ResetPointInfo
Creates a new ResetPointInfo instance using the specified properties.
Parameters
| Name | Type | Description | 
|---|---|---|
| properties? | IResetPointInfo | Properties to set | 
Returns
ResetPointInfo instance
decode
▸ decode(reader, length?): ResetPointInfo
Decodes a ResetPointInfo message from the specified reader or buffer.
Parameters
| Name | Type | Description | 
|---|---|---|
| reader | Uint8Array|Reader | Reader or buffer to decode from | 
| length? | number | Message length if known beforehand | 
Returns
ResetPointInfo
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): ResetPointInfo
Decodes a ResetPointInfo message from the specified reader or buffer, length delimited.
Parameters
| Name | Type | Description | 
|---|---|---|
| reader | Uint8Array|Reader | Reader or buffer to decode from | 
Returns
ResetPointInfo
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode
▸ encode(message, writer?): Writer
Encodes the specified ResetPointInfo message. Does not implicitly temporal.api.workflow.v1.ResetPointInfo.verify|verify messages.
Parameters
| Name | Type | Description | 
|---|---|---|
| message | IResetPointInfo | ResetPointInfo message or plain object to encode | 
| writer? | Writer | Writer to encode to | 
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message, writer?): Writer
Encodes the specified ResetPointInfo message, length delimited. Does not implicitly temporal.api.workflow.v1.ResetPointInfo.verify|verify messages.
Parameters
| Name | Type | Description | 
|---|---|---|
| message | IResetPointInfo | ResetPointInfo message or plain object to encode | 
| writer? | Writer | Writer to encode to | 
Returns
Writer
Writer
fromObject
▸ fromObject(object): ResetPointInfo
Creates a ResetPointInfo message from a plain object. Also converts values to their respective internal types.
Parameters
| Name | Type | Description | 
|---|---|---|
| object | Object | Plain object | 
Returns
ResetPointInfo
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?): string
Gets the default type url for ResetPointInfo
Parameters
| Name | Type | Description | 
|---|---|---|
| typeUrlPrefix? | string | your custom typeUrlPrefix(default "type.googleapis.com") | 
Returns
string
The default type url
toObject
▸ toObject(message, options?): Object
Creates a plain object from a ResetPointInfo message. Also converts values to other types if specified.
Parameters
| Name | Type | Description | 
|---|---|---|
| message | ResetPointInfo | ResetPointInfo | 
| options? | IConversionOptions | Conversion options | 
Returns
Object
Plain object