Skip to main content

Class: UpdateWorkerConfigResponse

workflowservice.v1.UpdateWorkerConfigResponse

Represents an UpdateWorkerConfigResponse.

Properties

response

Optional response: "workerConfig"

UpdateWorkerConfigResponse response.


workerConfig

Optional workerConfig: null | $Properties

The worker configuration. Will be returned if the command was sent to a single worker.

Methods

toJSON

toJSON(): Object

Converts this UpdateWorkerConfigResponse to JSON.

Returns

Object

JSON object


create

create(properties?): UpdateWorkerConfigResponse & $Shape

Creates a new UpdateWorkerConfigResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?$ShapeProperties to set

Returns

UpdateWorkerConfigResponse & $Shape

UpdateWorkerConfigResponse instance

create(properties?): UpdateWorkerConfigResponse

Parameters

NameType
properties?$Properties

Returns

UpdateWorkerConfigResponse


decode

decode(reader, length?): UpdateWorkerConfigResponse & $Shape

Decodes an UpdateWorkerConfigResponse message from the specified reader or buffer.

Parameters

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

Returns

UpdateWorkerConfigResponse & $Shape

UpdateWorkerConfigResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): UpdateWorkerConfigResponse & $Shape

Decodes an UpdateWorkerConfigResponse message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

UpdateWorkerConfigResponse & $Shape

UpdateWorkerConfigResponse

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

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): UpdateWorkerConfigResponse

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

UpdateWorkerConfigResponse

UpdateWorkerConfigResponse


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageUpdateWorkerConfigResponseUpdateWorkerConfigResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object