Skip to main content

Class: NamespaceConfig

namespace.v1.NamespaceConfig

Represents a NamespaceConfig.

Implements#

Constructors#

constructor#

new NamespaceConfig(properties?)

Constructs a new NamespaceConfig.

Parameters#

NameType
properties?INamespaceConfig

Properties#

badBinaries#

Optional badBinaries: null | IBadBinaries

NamespaceConfig badBinaries.

Implementation of#

INamespaceConfig.badBinaries


historyArchivalState#

historyArchivalState: ArchivalState

NamespaceConfig historyArchivalState.

Implementation of#

INamespaceConfig.historyArchivalState


historyArchivalUri#

historyArchivalUri: string

NamespaceConfig historyArchivalUri.

Implementation of#

INamespaceConfig.historyArchivalUri


visibilityArchivalState#

visibilityArchivalState: ArchivalState

NamespaceConfig visibilityArchivalState.

Implementation of#

INamespaceConfig.visibilityArchivalState


visibilityArchivalUri#

visibilityArchivalUri: string

NamespaceConfig visibilityArchivalUri.

Implementation of#

INamespaceConfig.visibilityArchivalUri


workflowExecutionRetentionTtl#

Optional workflowExecutionRetentionTtl: null | IDuration

NamespaceConfig workflowExecutionRetentionTtl.

Implementation of#

INamespaceConfig.workflowExecutionRetentionTtl

Methods#

toJSON#

toJSON(): Object

Converts this NamespaceConfig to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): NamespaceConfig

Decodes a NamespaceConfig message from the specified reader or buffer.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?number-

Returns#

NamespaceConfig

NamespaceConfig


decodeDelimited#

Static decodeDelimited(reader): NamespaceConfig

Decodes a NamespaceConfig message from the specified reader or buffer, length delimited.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns#

NamespaceConfig

NamespaceConfig


encode#

Static encode(message, writer?): Writer

Encodes the specified NamespaceConfig message. Does not implicitly {@link temporal.api.namespace.v1.NamespaceConfig.verify|verify} messages.

Parameters#

NameTypeDescription
messageINamespaceConfigNamespaceConfig message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

Encodes the specified NamespaceConfig message, length delimited. Does not implicitly {@link temporal.api.namespace.v1.NamespaceConfig.verify|verify} messages.

Parameters#

NameTypeDescription
messageINamespaceConfigNamespaceConfig message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


fromObject#

Static fromObject(object): NamespaceConfig

Creates a NamespaceConfig message from a plain object. Also converts values to their respective internal types.

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

NamespaceConfig

NamespaceConfig


toObject#

Static toObject(message, options?): Object

Creates a plain object from a NamespaceConfig message. Also converts values to other types if specified.

Parameters#

NameTypeDescription
messageNamespaceConfigNamespaceConfig
options?IConversionOptions-

Returns#

Object

Plain object