Skip to main content

Class: DeprecateNamespaceRequest

workflowservice.v1.DeprecateNamespaceRequest

Represents a DeprecateNamespaceRequest.

Implements#

Constructors#

constructor#

new DeprecateNamespaceRequest(properties?)

Constructs a new DeprecateNamespaceRequest.

Parameters#

NameType
properties?IDeprecateNamespaceRequest

Properties#

namespace#

namespace: string

DeprecateNamespaceRequest namespace.

Implementation of#

IDeprecateNamespaceRequest.namespace


securityToken#

securityToken: string

DeprecateNamespaceRequest securityToken.

Implementation of#

IDeprecateNamespaceRequest.securityToken

Methods#

toJSON#

toJSON(): Object

Converts this DeprecateNamespaceRequest to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): DeprecateNamespaceRequest

Decodes a DeprecateNamespaceRequest 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#

DeprecateNamespaceRequest

DeprecateNamespaceRequest


decodeDelimited#

Static decodeDelimited(reader): DeprecateNamespaceRequest

Decodes a DeprecateNamespaceRequest 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#

DeprecateNamespaceRequest

DeprecateNamespaceRequest


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): DeprecateNamespaceRequest

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

DeprecateNamespaceRequest

DeprecateNamespaceRequest


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageDeprecateNamespaceRequestDeprecateNamespaceRequest
options?IConversionOptions-

Returns#

Object

Plain object