Class: GetWorkflowExecutionHistoryRequest
Represents a GetWorkflowExecutionHistoryRequest.
Properties
execution?
optionalexecution?:$Properties|null
GetWorkflowExecutionHistoryRequest execution.
historyEventFilterType
historyEventFilterType:
HistoryEventFilterType
Filter returned events such that they match the specified filter type. Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT.
maximumPageSize
maximumPageSize:
number
GetWorkflowExecutionHistoryRequest maximumPageSize.
namespace
namespace:
string
GetWorkflowExecutionHistoryRequest namespace.
nextPageToken
nextPageToken:
Uint8Array
If a GetWorkflowExecutionHistoryResponse or a PollWorkflowTaskQueueResponse had one of
these, it should be passed here to fetch the next page.
skipArchival
skipArchival:
boolean
GetWorkflowExecutionHistoryRequest skipArchival.
waitNewEvent
waitNewEvent:
boolean
If set to true, the RPC call will not resolve until there is a new event which matches
the history_event_filter_type, or a timeout is hit.
Methods
toJSON()
toJSON():
object
Converts this GetWorkflowExecutionHistoryRequest to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):GetWorkflowExecutionHistoryRequest&$Properties
Creates a new GetWorkflowExecutionHistoryRequest instance using the specified properties.
Parameters
properties?
Properties to set
Returns
GetWorkflowExecutionHistoryRequest & $Properties
GetWorkflowExecutionHistoryRequest instance
Call Signature
staticcreate(properties?):GetWorkflowExecutionHistoryRequest
Creates a new GetWorkflowExecutionHistoryRequest instance using the specified properties.
Parameters
properties?
Properties to set
Returns
GetWorkflowExecutionHistoryRequest
GetWorkflowExecutionHistoryRequest instance
decode()
staticdecode(reader,length?):GetWorkflowExecutionHistoryRequest&$Properties
Decodes a GetWorkflowExecutionHistoryRequest 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
GetWorkflowExecutionHistoryRequest & $Properties
GetWorkflowExecutionHistoryRequest
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):GetWorkflowExecutionHistoryRequest&$Properties
Decodes a GetWorkflowExecutionHistoryRequest message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
GetWorkflowExecutionHistoryRequest & $Properties
GetWorkflowExecutionHistoryRequest
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 GetWorkflowExecutionHistoryRequest message. Does not implicitly temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest.verify|verify messages.
Parameters
message
GetWorkflowExecutionHistoryRequest message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified GetWorkflowExecutionHistoryRequest message, length delimited. Does not implicitly temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest.verify|verify messages.
Parameters
message
GetWorkflowExecutionHistoryRequest message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):GetWorkflowExecutionHistoryRequest
Creates a GetWorkflowExecutionHistoryRequest message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
GetWorkflowExecutionHistoryRequest
GetWorkflowExecutionHistoryRequest
toObject()
statictoObject(message,options?):object
Creates a plain object from a GetWorkflowExecutionHistoryRequest message. Also converts values to other types if specified.
Parameters
message
GetWorkflowExecutionHistoryRequest
GetWorkflowExecutionHistoryRequest
options?
IConversionOptions
Conversion options
Returns
object
Plain object