Class: NexusOperationFailureInfo
failure.v1.NexusOperationFailureInfo
Represents a NexusOperationFailureInfo.
Implements
Constructors
constructor
• new NexusOperationFailureInfo(properties?
): NexusOperationFailureInfo
Constructs a new NexusOperationFailureInfo.
Parameters
Name | Type | Description |
---|---|---|
properties? | INexusOperationFailureInfo | Properties to set |
Returns
Properties
endpoint
• endpoint: string
Endpoint name.
Implementation of
INexusOperationFailureInfo.endpoint
operation
• operation: string
Operation name.
Implementation of
INexusOperationFailureInfo.operation
operationId
• operationId: string
Operation ID - may be empty if the operation completed synchronously.
Implementation of
INexusOperationFailureInfo.operationId
scheduledEventId
• scheduledEventId: Long
The NexusOperationScheduled event ID.
Implementation of
INexusOperationFailureInfo.scheduledEventId
service
• service: string
Service name.
Implementation of
INexusOperationFailureInfo.service
Methods
toJSON
▸ toJSON(): Object
Converts this NexusOperationFailureInfo to JSON.
Returns
Object
JSON object
create
▸ create(properties?
): NexusOperationFailureInfo
Creates a new NexusOperationFailureInfo instance using the specified properties.
Parameters
Name | Type | Description |
---|---|---|
properties? | INexusOperationFailureInfo | Properties to set |
Returns
NexusOperationFailureInfo instance
decode
▸ decode(reader
, length?
): NexusOperationFailureInfo
Decodes a NexusOperationFailureInfo 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
NexusOperationFailureInfo
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader
): NexusOperationFailureInfo
Decodes a NexusOperationFailureInfo message from the specified reader or buffer, length delimited.
Parameters
Name | Type | Description |
---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
NexusOperationFailureInfo
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 NexusOperationFailureInfo message. Does not implicitly temporal.api.failure.v1.NexusOperationFailureInfo.verify|verify messages.
Parameters
Name | Type | Description |
---|---|---|
message | INexusOperationFailureInfo | NexusOperationFailureInfo message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message
, writer?
): Writer
Encodes the specified NexusOperationFailureInfo message, length delimited. Does not implicitly temporal.api.failure.v1.NexusOperationFailureInfo.verify|verify messages.
Parameters
Name | Type | Description |
---|---|---|
message | INexusOperationFailureInfo | NexusOperationFailureInfo message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
fromObject
▸ fromObject(object
): NexusOperationFailureInfo
Creates a NexusOperationFailureInfo message from a plain object. Also converts values to their respective internal types.
Parameters
Name | Type | Description |
---|---|---|
object | Object | Plain object |
Returns
NexusOperationFailureInfo
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?
): string
Gets the default type url for NexusOperationFailureInfo
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 NexusOperationFailureInfo message. Also converts values to other types if specified.
Parameters
Name | Type | Description |
---|---|---|
message | NexusOperationFailureInfo | NexusOperationFailureInfo |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object