Skip to main content

Class: DeleteNamespaceResponse

operatorservice.v1.DeleteNamespaceResponse

Represents a DeleteNamespaceResponse.

Implements

Constructors

constructor

new DeleteNamespaceResponse(properties?)

Constructs a new DeleteNamespaceResponse.

Parameters

NameTypeDescription
properties?IDeleteNamespaceResponseProperties to set

Properties

deletedNamespace

deletedNamespace: string

DeleteNamespaceResponse deletedNamespace.

Implementation of

IDeleteNamespaceResponse.deletedNamespace

Methods

toJSON

toJSON(): Object

Converts this DeleteNamespaceResponse to JSON.

Returns

Object

JSON object


create

Static create(properties?): DeleteNamespaceResponse

Creates a new DeleteNamespaceResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?IDeleteNamespaceResponseProperties to set

Returns

DeleteNamespaceResponse

DeleteNamespaceResponse instance


decode

Static decode(reader, length?): DeleteNamespaceResponse

Decodes a DeleteNamespaceResponse message from the specified reader or buffer.

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

DeleteNamespaceResponse

DeleteNamespaceResponse


decodeDelimited

Static decodeDelimited(reader): DeleteNamespaceResponse

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

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

DeleteNamespaceResponse

DeleteNamespaceResponse


encode

Static encode(message, writer?): Writer

Encodes the specified DeleteNamespaceResponse message. Does not implicitly temporal.api.operatorservice.v1.DeleteNamespaceResponse.verify|verify messages.

Parameters

NameTypeDescription
messageIDeleteNamespaceResponseDeleteNamespaceResponse message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

Static encodeDelimited(message, writer?): Writer

Encodes the specified DeleteNamespaceResponse message, length delimited. Does not implicitly temporal.api.operatorservice.v1.DeleteNamespaceResponse.verify|verify messages.

Parameters

NameTypeDescription
messageIDeleteNamespaceResponseDeleteNamespaceResponse message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

Static fromObject(object): DeleteNamespaceResponse

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

DeleteNamespaceResponse

DeleteNamespaceResponse


getTypeUrl

Static getTypeUrl(typeUrlPrefix?): string

Gets the default type url for DeleteNamespaceResponse

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject

Static toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageDeleteNamespaceResponseDeleteNamespaceResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object