Skip to main content

Class: GetWorkflowExecutionHistoryRequest

workflowservice.v1.GetWorkflowExecutionHistoryRequest

Represents a GetWorkflowExecutionHistoryRequest.

Properties

execution

Optional execution: null | $Properties

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

create(properties?): GetWorkflowExecutionHistoryRequest & $Properties

Creates a new GetWorkflowExecutionHistoryRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

GetWorkflowExecutionHistoryRequest & $Properties

GetWorkflowExecutionHistoryRequest instance

create(properties?): GetWorkflowExecutionHistoryRequest

Parameters

NameType
properties?$Properties

Returns

GetWorkflowExecutionHistoryRequest


decode

decode(reader, length?): GetWorkflowExecutionHistoryRequest & $Properties

Decodes a GetWorkflowExecutionHistoryRequest message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage 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

decodeDelimited(reader): GetWorkflowExecutionHistoryRequest & $Properties

Decodes a GetWorkflowExecutionHistoryRequest message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader 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

encode(message, writer?): Writer

Encodes the specified GetWorkflowExecutionHistoryRequest message. Does not implicitly temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest.verify|verify messages.

Parameters

NameTypeDescription
message$PropertiesGetWorkflowExecutionHistoryRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

Encodes the specified GetWorkflowExecutionHistoryRequest message, length delimited. Does not implicitly temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest.verify|verify messages.

Parameters

NameTypeDescription
message$PropertiesGetWorkflowExecutionHistoryRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): GetWorkflowExecutionHistoryRequest

Creates a GetWorkflowExecutionHistoryRequest message from a plain object. Also converts values to their respective internal types.

Parameters

NameTypeDescription
objectObjectPlain object

Returns

GetWorkflowExecutionHistoryRequest

GetWorkflowExecutionHistoryRequest


toObject

toObject(message, options?): Object

Creates a plain object from a GetWorkflowExecutionHistoryRequest message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messageGetWorkflowExecutionHistoryRequestGetWorkflowExecutionHistoryRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object