Skip to main content

Class: UpdateNamespaceInfo

namespace.v1.UpdateNamespaceInfo

Represents an UpdateNamespaceInfo.

Implements#

Constructors#

constructor#

new UpdateNamespaceInfo(properties?)

Constructs a new UpdateNamespaceInfo.

Parameters#

NameType
properties?IUpdateNamespaceInfo

Properties#

data#

data: Object

UpdateNamespaceInfo data.

Index signature#

▪ [k: string]: string

Implementation of#

IUpdateNamespaceInfo.data


description#

description: string

UpdateNamespaceInfo description.

Implementation of#

IUpdateNamespaceInfo.description


ownerEmail#

ownerEmail: string

UpdateNamespaceInfo ownerEmail.

Implementation of#

IUpdateNamespaceInfo.ownerEmail

Methods#

toJSON#

toJSON(): Object

Converts this UpdateNamespaceInfo to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): UpdateNamespaceInfo

Decodes an UpdateNamespaceInfo 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#

UpdateNamespaceInfo

UpdateNamespaceInfo


decodeDelimited#

Static decodeDelimited(reader): UpdateNamespaceInfo

Decodes an UpdateNamespaceInfo 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#

UpdateNamespaceInfo

UpdateNamespaceInfo


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): UpdateNamespaceInfo

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

UpdateNamespaceInfo

UpdateNamespaceInfo


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageUpdateNamespaceInfoUpdateNamespaceInfo
options?IConversionOptions-

Returns#

Object

Plain object