Class: DescribeNamespaceResponse
Represents a DescribeNamespaceResponse.
Properties
config?
optionalconfig?:$Properties|null
DescribeNamespaceResponse config.
failoverHistory
failoverHistory:
$Properties[]
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.
failoverVersion
failoverVersion:
Long
DescribeNamespaceResponse failoverVersion.
isGlobalNamespace
isGlobalNamespace:
boolean
DescribeNamespaceResponse isGlobalNamespace.
namespaceInfo?
optionalnamespaceInfo?:$Properties|null
DescribeNamespaceResponse namespaceInfo.
pollerGroupInfos
pollerGroupInfos:
$Properties[]
Deprecated. Use poller_groups_info instead, which carries a version so the client can
ignore stale updates.
The initial info that client should use for poller group assignment. This information is
updated through poll response. Client is supposed to use the info received in the latest
poll response.
pollerGroupsInfo?
optionalpollerGroupsInfo?:$Properties|null
The initial, versioned info that client should use for poller group assignment. This information is updated through poll responses. Client is supposed to use the info with the highest version it has received.
replicationConfig?
optionalreplicationConfig?:$Properties|null
DescribeNamespaceResponse replicationConfig.
Methods
toJSON()
toJSON():
object
Converts this DescribeNamespaceResponse to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):DescribeNamespaceResponse&$Properties
Creates a new DescribeNamespaceResponse instance using the specified properties.
Parameters
properties?
Properties to set
Returns
DescribeNamespaceResponse & $Properties
DescribeNamespaceResponse instance
Call Signature
staticcreate(properties?):DescribeNamespaceResponse
Creates a new DescribeNamespaceResponse instance using the specified properties.
Parameters
properties?
Properties to set
Returns
DescribeNamespaceResponse
DescribeNamespaceResponse instance
decode()
staticdecode(reader,length?):DescribeNamespaceResponse&$Properties
Decodes a DescribeNamespaceResponse message from the specified reader or buffer.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
length?
number
Message length if known beforehand
Returns
DescribeNamespaceResponse & $Properties
DescribeNamespaceResponse
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):DescribeNamespaceResponse&$Properties
Decodes a DescribeNamespaceResponse message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
DescribeNamespaceResponse & $Properties
DescribeNamespaceResponse
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode()
staticencode(message,writer?):Writer
Encodes the specified DescribeNamespaceResponse message. Does not implicitly temporal.api.workflowservice.v1.DescribeNamespaceResponse.verify|verify messages.
Parameters
message
DescribeNamespaceResponse message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified DescribeNamespaceResponse message, length delimited. Does not implicitly temporal.api.workflowservice.v1.DescribeNamespaceResponse.verify|verify messages.
Parameters
message
DescribeNamespaceResponse message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):DescribeNamespaceResponse
Creates a DescribeNamespaceResponse message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
DescribeNamespaceResponse
DescribeNamespaceResponse
toObject()
statictoObject(message,options?):object
Creates a plain object from a DescribeNamespaceResponse message. Also converts values to other types if specified.
Parameters
message
DescribeNamespaceResponse
DescribeNamespaceResponse
options?
IConversionOptions
Conversion options
Returns
object
Plain object