Class: RespondNexusTaskCompletedRequest
workflowservice.v1.RespondNexusTaskCompletedRequest
Represents a RespondNexusTaskCompletedRequest.
Implements
Constructors
constructor
• new RespondNexusTaskCompletedRequest(properties?
): RespondNexusTaskCompletedRequest
Constructs a new RespondNexusTaskCompletedRequest.
Parameters
Name | Type | Description |
---|---|---|
properties? | IRespondNexusTaskCompletedRequest | Properties to set |
Returns
RespondNexusTaskCompletedRequest
Properties
identity
• identity: string
The identity of the client who initiated this request.
Implementation of
IRespondNexusTaskCompletedRequest.identity
namespace
• namespace: string
RespondNexusTaskCompletedRequest namespace.
Implementation of
IRespondNexusTaskCompletedRequest.namespace
response
• Optional
response: null
| IResponse
Embedded response to be translated into a frontend response.
Implementation of
IRespondNexusTaskCompletedRequest.response
taskToken
• taskToken: Uint8Array
A unique identifier for this task as received via a poll response.
Implementation of
IRespondNexusTaskCompletedRequest.taskToken
Methods
toJSON
▸ toJSON(): Object
Converts this RespondNexusTaskCompletedRequest to JSON.
Returns
Object
JSON object
create
▸ create(properties?
): RespondNexusTaskCompletedRequest
Creates a new RespondNexusTaskCompletedRequest instance using the specified properties.
Parameters
Name | Type | Description |
---|---|---|
properties? | IRespondNexusTaskCompletedRequest | Properties to set |
Returns
RespondNexusTaskCompletedRequest
RespondNexusTaskCompletedRequest instance
decode
▸ decode(reader
, length?
): RespondNexusTaskCompletedRequest
Decodes a RespondNexusTaskCompletedRequest message from the specified reader or buffer.
Parameters
Name | Type | Description |
---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
length? | number | Message length if known beforehand |
Returns
RespondNexusTaskCompletedRequest
RespondNexusTaskCompletedRequest
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader
): RespondNexusTaskCompletedRequest
Decodes a RespondNexusTaskCompletedRequest message from the specified reader or buffer, length delimited.
Parameters
Name | Type | Description |
---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
RespondNexusTaskCompletedRequest
RespondNexusTaskCompletedRequest
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 RespondNexusTaskCompletedRequest message. Does not implicitly temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest.verify|verify messages.
Parameters
Name | Type | Description |
---|---|---|
message | IRespondNexusTaskCompletedRequest | RespondNexusTaskCompletedRequest message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message
, writer?
): Writer
Encodes the specified RespondNexusTaskCompletedRequest message, length delimited. Does not implicitly temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest.verify|verify messages.
Parameters
Name | Type | Description |
---|---|---|
message | IRespondNexusTaskCompletedRequest | RespondNexusTaskCompletedRequest message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
fromObject
▸ fromObject(object
): RespondNexusTaskCompletedRequest
Creates a RespondNexusTaskCompletedRequest message from a plain object. Also converts values to their respective internal types.
Parameters
Name | Type | Description |
---|---|---|
object | Object | Plain object |
Returns
RespondNexusTaskCompletedRequest
RespondNexusTaskCompletedRequest
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?
): string
Gets the default type url for RespondNexusTaskCompletedRequest
Parameters
Name | Type | Description |
---|---|---|
typeUrlPrefix? | string | your custom typeUrlPrefix(default "type.googleapis.com") |
Returns
string
The default type url
toObject
▸ toObject(message
, options?
): Object
Creates a plain object from a RespondNexusTaskCompletedRequest message. Also converts values to other types if specified.
Parameters
Name | Type | Description |
---|---|---|
message | RespondNexusTaskCompletedRequest | RespondNexusTaskCompletedRequest |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object