Class: DescribeNexusOperationExecutionResponse
workflowservice.v1.DescribeNexusOperationExecutionResponse
Represents a DescribeNexusOperationExecutionResponse.
Implements
Constructors
constructor
• new DescribeNexusOperationExecutionResponse(properties?): DescribeNexusOperationExecutionResponse
Constructs a new DescribeNexusOperationExecutionResponse.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IDescribeNexusOperationExecutionResponse | Properties to set |
Returns
DescribeNexusOperationExecutionResponse
Properties
failure
• Optional failure: null | IFailure
The failure if the operation completed unsuccessfully.
Implementation of
IDescribeNexusOperationExecutionResponse.failure
info
• Optional info: null | INexusOperationExecutionInfo
Information about the operation.
Implementation of
IDescribeNexusOperationExecutionResponse.info
input
• Optional input: null | IPayload
Serialized operation input, passed as the request payload. Only set if include_input was true in the request.
Implementation of
IDescribeNexusOperationExecutionResponse.input
longPollToken
• longPollToken: Uint8Array
Token for follow-on long-poll requests. Absent only if the operation is complete.
Implementation of
IDescribeNexusOperationExecutionResponse.longPollToken
outcome
• Optional outcome: "failure" | "result"
Only set if the operation is completed and include_outcome was true in the request.
result
• Optional result: null | IPayload
The result if the operation completed successfully.
Implementation of
IDescribeNexusOperationExecutionResponse.result
runId
• runId: string
The run ID of the operation, useful when run_id was not specified in the request.
Implementation of
IDescribeNexusOperationExecutionResponse.runId
Methods
toJSON
▸ toJSON(): Object
Converts this DescribeNexusOperationExecutionResponse to JSON.
Returns
Object
JSON object
create
▸ create(properties?): DescribeNexusOperationExecutionResponse
Creates a new DescribeNexusOperationExecutionResponse instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IDescribeNexusOperationExecutionResponse | Properties to set |
Returns
DescribeNexusOperationExecutionResponse
DescribeNexusOperationExecutionResponse instance
decode
▸ decode(reader, length?): DescribeNexusOperationExecutionResponse
Decodes a DescribeNexusOperationExecutionResponse 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
DescribeNexusOperationExecutionResponse
DescribeNexusOperationExecutionResponse
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): DescribeNexusOperationExecutionResponse
Decodes a DescribeNexusOperationExecutionResponse message from the specified reader or buffer, length delimited.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
DescribeNexusOperationExecutionResponse
DescribeNexusOperationExecutionResponse
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 DescribeNexusOperationExecutionResponse message. Does not implicitly temporal.api.workflowservice.v1.DescribeNexusOperationExecutionResponse.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | IDescribeNexusOperationExecutionResponse | DescribeNexusOperationExecutionResponse message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message, writer?): Writer
Encodes the specified DescribeNexusOperationExecutionResponse message, length delimited. Does not implicitly temporal.api.workflowservice.v1.DescribeNexusOperationExecutionResponse.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | IDescribeNexusOperationExecutionResponse | DescribeNexusOperationExecutionResponse message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
fromObject
▸ fromObject(object): DescribeNexusOperationExecutionResponse
Creates a DescribeNexusOperationExecutionResponse message from a plain object. Also converts values to their respective internal types.
Parameters
| Name | Type | Description |
|---|---|---|
object | Object | Plain object |
Returns
DescribeNexusOperationExecutionResponse
DescribeNexusOperationExecutionResponse
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?): string
Gets the default type url for DescribeNexusOperationExecutionResponse
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 DescribeNexusOperationExecutionResponse message. Also converts values to other types if specified.
Parameters
| Name | Type | Description |
|---|---|---|
message | DescribeNexusOperationExecutionResponse | DescribeNexusOperationExecutionResponse |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object