Class: WorkflowExecutionConfig
Represents a WorkflowExecutionConfig.
Properties
defaultWorkflowTaskTimeout?
optionaldefaultWorkflowTaskTimeout?:$Properties|null
WorkflowExecutionConfig defaultWorkflowTaskTimeout.
taskQueue?
optionaltaskQueue?:$Properties|null
WorkflowExecutionConfig taskQueue.
userMetadata?
optionaluserMetadata?:$Properties|null
User metadata provided on start workflow.
workflowExecutionTimeout?
optionalworkflowExecutionTimeout?:$Properties|null
WorkflowExecutionConfig workflowExecutionTimeout.
workflowRunTimeout?
optionalworkflowRunTimeout?:$Properties|null
WorkflowExecutionConfig workflowRunTimeout.
Methods
toJSON()
toJSON():
object
Converts this WorkflowExecutionConfig to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):WorkflowExecutionConfig&$Properties
Creates a new WorkflowExecutionConfig instance using the specified properties.
Parameters
properties?
Properties to set
Returns
WorkflowExecutionConfig & $Properties
WorkflowExecutionConfig instance
Call Signature
staticcreate(properties?):WorkflowExecutionConfig
Creates a new WorkflowExecutionConfig instance using the specified properties.
Parameters
properties?
Properties to set
Returns
WorkflowExecutionConfig
WorkflowExecutionConfig instance
decode()
staticdecode(reader,length?):WorkflowExecutionConfig&$Properties
Decodes a WorkflowExecutionConfig 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
WorkflowExecutionConfig & $Properties
WorkflowExecutionConfig
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):WorkflowExecutionConfig&$Properties
Decodes a WorkflowExecutionConfig message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
WorkflowExecutionConfig & $Properties
WorkflowExecutionConfig
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 WorkflowExecutionConfig message. Does not implicitly temporal.api.workflow.v1.WorkflowExecutionConfig.verify|verify messages.
Parameters
message
WorkflowExecutionConfig message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified WorkflowExecutionConfig message, length delimited. Does not implicitly temporal.api.workflow.v1.WorkflowExecutionConfig.verify|verify messages.
Parameters
message
WorkflowExecutionConfig message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):WorkflowExecutionConfig
Creates a WorkflowExecutionConfig message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
WorkflowExecutionConfig
WorkflowExecutionConfig
toObject()
statictoObject(message,options?):object
Creates a plain object from a WorkflowExecutionConfig message. Also converts values to other types if specified.
Parameters
message
WorkflowExecutionConfig
WorkflowExecutionConfig
options?
IConversionOptions
Conversion options
Returns
object
Plain object