Class: DescribeNamespaceResponse
workflowservice.v1.DescribeNamespaceResponse
Represents a DescribeNamespaceResponse.
Implements
Constructors
constructor
• new DescribeNamespaceResponse(properties?
): DescribeNamespaceResponse
Constructs a new DescribeNamespaceResponse.
Parameters
Name | Type | Description |
---|---|---|
properties? | IDescribeNamespaceResponse | Properties to set |
Returns
Properties
config
• Optional
config: null
| INamespaceConfig
DescribeNamespaceResponse config.
Implementation of
IDescribeNamespaceResponse.config
failoverHistory
• failoverHistory: IFailoverStatus
[]
Contains the historical state of failover_versions for the cluster, truncated to contain only the last N states to ensure that the list does not grow unbounded.
Implementation of
IDescribeNamespaceResponse.failoverHistory
failoverVersion
• failoverVersion: Long
DescribeNamespaceResponse failoverVersion.
Implementation of
IDescribeNamespaceResponse.failoverVersion
isGlobalNamespace
• isGlobalNamespace: boolean
DescribeNamespaceResponse isGlobalNamespace.
Implementation of
IDescribeNamespaceResponse.isGlobalNamespace
namespaceInfo
• Optional
namespaceInfo: null
| INamespaceInfo
DescribeNamespaceResponse namespaceInfo.
Implementation of
IDescribeNamespaceResponse.namespaceInfo
replicationConfig
• Optional
replicationConfig: null
| INamespaceReplicationConfig
DescribeNamespaceResponse replicationConfig.
Implementation of
IDescribeNamespaceResponse.replicationConfig
Methods
toJSON
▸ toJSON(): Object
Converts this DescribeNamespaceResponse to JSON.
Returns
Object
JSON object
create
▸ create(properties?
): DescribeNamespaceResponse
Creates a new DescribeNamespaceResponse instance using the specified properties.
Parameters
Name | Type | Description |
---|---|---|
properties? | IDescribeNamespaceResponse | Properties to set |
Returns
DescribeNamespaceResponse instance
decode
▸ decode(reader
, length?
): DescribeNamespaceResponse
Decodes a DescribeNamespaceResponse 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
DescribeNamespaceResponse
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing