Skip to main content

Class: QueryRejected

query.v1.QueryRejected

Represents a QueryRejected.

Implements#

Constructors#

constructor#

new QueryRejected(properties?)

Constructs a new QueryRejected.

Parameters#

NameType
properties?IQueryRejected

Properties#

status#

status: WorkflowExecutionStatus

QueryRejected status.

Implementation of#

IQueryRejected.status

Methods#

toJSON#

toJSON(): Object

Converts this QueryRejected to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): QueryRejected

Decodes a QueryRejected 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#

QueryRejected

QueryRejected


decodeDelimited#

Static decodeDelimited(reader): QueryRejected

Decodes a QueryRejected 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#

QueryRejected

QueryRejected


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): QueryRejected

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

QueryRejected

QueryRejected


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageQueryRejectedQueryRejected
options?IConversionOptions-

Returns#

Object

Plain object