Skip to main content

Class: TaskQueueStatus

taskqueue.v1.TaskQueueStatus

Deprecated. Use InternalTaskQueueStatus. This is kept until DescribeTaskQueue supports legacy behavior.

Implements

Constructors

constructor

new TaskQueueStatus(properties?): TaskQueueStatus

Constructs a new TaskQueueStatus.

Parameters

NameTypeDescription
properties?ITaskQueueStatusProperties to set

Returns

TaskQueueStatus

Properties

ackLevel

ackLevel: Long

TaskQueueStatus ackLevel.

Implementation of

ITaskQueueStatus.ackLevel


backlogCountHint

backlogCountHint: Long

TaskQueueStatus backlogCountHint.

Implementation of

ITaskQueueStatus.backlogCountHint


ratePerSecond

ratePerSecond: number

TaskQueueStatus ratePerSecond.

Implementation of

ITaskQueueStatus.ratePerSecond


readLevel

readLevel: Long

TaskQueueStatus readLevel.

Implementation of

ITaskQueueStatus.readLevel


taskIdBlock

Optional taskIdBlock: null | ITaskIdBlock

TaskQueueStatus taskIdBlock.

Implementation of

ITaskQueueStatus.taskIdBlock

Methods

toJSON

toJSON(): Object

Converts this TaskQueueStatus to JSON.

Returns

Object

JSON object


create

create(properties?): TaskQueueStatus

Creates a new TaskQueueStatus instance using the specified properties.

Parameters

NameTypeDescription
properties?ITaskQueueStatusProperties to set

Returns

TaskQueueStatus

TaskQueueStatus instance


decode

decode(reader, length?): TaskQueueStatus

Decodes a TaskQueueStatus message from the specified reader or buffer.

Parameters

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

Returns

TaskQueueStatus

TaskQueueStatus

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): TaskQueueStatus

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

TaskQueueStatus

TaskQueueStatus

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

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): TaskQueueStatus

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

TaskQueueStatus

TaskQueueStatus


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for TaskQueueStatus

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 TaskQueueStatus message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messageTaskQueueStatusTaskQueueStatus
options?IConversionOptionsConversion options

Returns

Object

Plain object