Class: Limits
v1.NamespaceInfo.Limits
Represents a Limits.
Properties
blobSizeLimitError
• blobSizeLimitError: Long
Maximum size in bytes for payload fields in workflow history events (e.g., workflow/activity inputs and results, failure details, signal payloads). When exceeded, the server will reject the operation with an error.
memoSizeLimitError
• memoSizeLimitError: Long
Maximum total memo size in bytes per workflow execution.
workflowTaskCompletionSizeLimitError
• workflowTaskCompletionSizeLimitError: Long
Maximum total size in bytes of a single RespondWorkflowTaskCompleted request. Requests exceeding this fail the workflow task with WORKFLOW_TASK_FAILED_CAUSE_REQUEST_TOO_LARGE. 0 means no explicit limit.
Methods
toJSON
▸ toJSON(): Object
Converts this Limits to JSON.
Returns
Object
JSON object
create
▸ create(properties?): Limits & $Properties
Creates a new Limits instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | $Properties | Properties to set |
Returns
Limits instance
▸ create(properties?): Limits
Parameters
| Name | Type |
|---|---|
properties? | $Properties |
Returns
decode
▸ decode(reader, length?): Limits & $Properties
Decodes a Limits 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
Limits
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): Limits & $Properties
Decodes a Limits message from the specified reader or buffer, length delimited.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
Limits
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 Limits message. Does not implicitly temporal.api.namespace.v1.NamespaceInfo.Limits.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | $Properties | Limits message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message, writer?): Writer
Encodes the specified Limits message, length delimited. Does not implicitly temporal.api.namespace.v1.NamespaceInfo.Limits.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | $Properties | Limits message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
fromObject
▸ fromObject(object): Limits
Creates a Limits message from a plain object. Also converts values to their respective internal types.
Parameters
| Name | Type | Description |
|---|---|---|
object | Object | Plain object |
Returns
Limits
toObject
▸ toObject(message, options?): Object
Creates a plain object from a Limits message. Also converts values to other types if specified.
Parameters
| Name | Type | Description |
|---|---|---|
message | Limits | Limits |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object