Skip to main content

Class: NamespaceInfo

namespace.v1.NamespaceInfo

Represents a NamespaceInfo.

Implements#

Constructors#

constructor#

new NamespaceInfo(properties?)

Constructs a new NamespaceInfo.

Parameters#

NameType
properties?INamespaceInfo

Properties#

data#

data: Object

NamespaceInfo data.

Index signature#

▪ [k: string]: string

Implementation of#

INamespaceInfo.data


description#

description: string

NamespaceInfo description.

Implementation of#

INamespaceInfo.description


id#

id: string

NamespaceInfo id.

Implementation of#

INamespaceInfo.id


name#

name: string

NamespaceInfo name.

Implementation of#

INamespaceInfo.name


ownerEmail#

ownerEmail: string

NamespaceInfo ownerEmail.

Implementation of#

INamespaceInfo.ownerEmail


state#

state: NamespaceState

NamespaceInfo state.

Implementation of#

INamespaceInfo.state

Methods#

toJSON#

toJSON(): Object

Converts this NamespaceInfo to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): NamespaceInfo

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

NamespaceInfo

NamespaceInfo


decodeDelimited#

Static decodeDelimited(reader): NamespaceInfo

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

NamespaceInfo

NamespaceInfo


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): NamespaceInfo

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

NamespaceInfo

NamespaceInfo


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageNamespaceInfoNamespaceInfo
options?IConversionOptions-

Returns#

Object

Plain object