Skip to main content

Class: ListActivityExecutionsResponse

workflowservice.v1.ListActivityExecutionsResponse

Represents a ListActivityExecutionsResponse.

Implements

Constructors

constructor

new ListActivityExecutionsResponse(properties?): ListActivityExecutionsResponse

Constructs a new ListActivityExecutionsResponse.

Parameters

NameTypeDescription
properties?IListActivityExecutionsResponseProperties to set

Returns

ListActivityExecutionsResponse

Properties

executions

executions: IActivityExecutionListInfo[]

ListActivityExecutionsResponse executions.

Implementation of

IListActivityExecutionsResponse.executions


nextPageToken

nextPageToken: Uint8Array

Token to use to fetch the next page. If empty, there is no next page.

Implementation of

IListActivityExecutionsResponse.nextPageToken

Methods

toJSON

toJSON(): Object

Converts this ListActivityExecutionsResponse to JSON.

Returns

Object

JSON object


create

create(properties?): ListActivityExecutionsResponse

Creates a new ListActivityExecutionsResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?IListActivityExecutionsResponseProperties to set

Returns

ListActivityExecutionsResponse

ListActivityExecutionsResponse instance


decode

decode(reader, length?): ListActivityExecutionsResponse

Decodes a ListActivityExecutionsResponse message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

ListActivityExecutionsResponse

ListActivityExecutionsResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): ListActivityExecutionsResponse

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

ListActivityExecutionsResponse

ListActivityExecutionsResponse

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 ListActivityExecutionsResponse message. Does not implicitly temporal.api.workflowservice.v1.ListActivityExecutionsResponse.verify|verify messages.

Parameters

NameTypeDescription
messageIListActivityExecutionsResponseListActivityExecutionsResponse message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
messageIListActivityExecutionsResponseListActivityExecutionsResponse message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): ListActivityExecutionsResponse

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

ListActivityExecutionsResponse

ListActivityExecutionsResponse


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for ListActivityExecutionsResponse

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageListActivityExecutionsResponseListActivityExecutionsResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object