Skip to main content

Class: TimeoutFailureInfo

failure.v1.TimeoutFailureInfo

Represents a TimeoutFailureInfo.

Implements#

Constructors#

constructor#

new TimeoutFailureInfo(properties?)

Constructs a new TimeoutFailureInfo.

Parameters#

NameType
properties?ITimeoutFailureInfo

Properties#

lastHeartbeatDetails#

Optional lastHeartbeatDetails: null | IPayloads

TimeoutFailureInfo lastHeartbeatDetails.

Implementation of#

ITimeoutFailureInfo.lastHeartbeatDetails


timeoutType#

timeoutType: TimeoutType

TimeoutFailureInfo timeoutType.

Implementation of#

ITimeoutFailureInfo.timeoutType

Methods#

toJSON#

toJSON(): Object

Converts this TimeoutFailureInfo to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): TimeoutFailureInfo

Decodes a TimeoutFailureInfo message from the specified reader or buffer.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?number-

Returns#

TimeoutFailureInfo

TimeoutFailureInfo


decodeDelimited#

Static decodeDelimited(reader): TimeoutFailureInfo

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

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns#

TimeoutFailureInfo

TimeoutFailureInfo


encode#

Static encode(message, writer?): Writer

Encodes the specified TimeoutFailureInfo message. Does not implicitly {@link temporal.api.failure.v1.TimeoutFailureInfo.verify|verify} messages.

Parameters#

NameTypeDescription
messageITimeoutFailureInfoTimeoutFailureInfo message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

Encodes the specified TimeoutFailureInfo message, length delimited. Does not implicitly {@link temporal.api.failure.v1.TimeoutFailureInfo.verify|verify} messages.

Parameters#

NameTypeDescription
messageITimeoutFailureInfoTimeoutFailureInfo message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


fromObject#

Static fromObject(object): TimeoutFailureInfo

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

TimeoutFailureInfo

TimeoutFailureInfo


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageTimeoutFailureInfoTimeoutFailureInfo
options?IConversionOptions-

Returns#

Object

Plain object