Skip to main content

Class: GetNamespaceResponse

cloudservice.v1.GetNamespaceResponse

Represents a GetNamespaceResponse.

Implements

Constructors

constructor

new GetNamespaceResponse(properties?): GetNamespaceResponse

Constructs a new GetNamespaceResponse.

Parameters

NameTypeDescription
properties?IGetNamespaceResponseProperties to set

Returns

GetNamespaceResponse

Properties

namespace

Optional namespace: null | INamespace

The namespace.

Implementation of

IGetNamespaceResponse.namespace

Methods

toJSON

toJSON(): Object

Converts this GetNamespaceResponse to JSON.

Returns

Object

JSON object


create

create(properties?): GetNamespaceResponse

Creates a new GetNamespaceResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?IGetNamespaceResponseProperties to set

Returns

GetNamespaceResponse

GetNamespaceResponse instance


decode

decode(reader, length?): GetNamespaceResponse

Decodes a GetNamespaceResponse message from the specified reader or buffer.

Parameters

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

Returns

GetNamespaceResponse

GetNamespaceResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): GetNamespaceResponse

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

GetNamespaceResponse

GetNamespaceResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode

encode(message, writer?): Writer

Encodes the specified GetNamespaceResponse message. Does not implicitly temporal.api.cloud.cloudservice.v1.GetNamespaceResponse.verify|verify messages.

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

Encodes the specified GetNamespaceResponse message, length delimited. Does not implicitly temporal.api.cloud.cloudservice.v1.GetNamespaceResponse.verify|verify messages.

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): GetNamespaceResponse

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

GetNamespaceResponse

GetNamespaceResponse


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for GetNamespaceResponse

Parameters

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

Returns

string

The default type url


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageGetNamespaceResponseGetNamespaceResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object