Skip to main content

Class: GetNexusEndpointResponse

Represents a GetNexusEndpointResponse.

Properties​

endpoint?​

optional endpoint?: $Properties | null

GetNexusEndpointResponse endpoint.

Methods​

toJSON()​

toJSON(): object

Converts this GetNexusEndpointResponse to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): GetNexusEndpointResponse & $Shape

Creates a new GetNexusEndpointResponse instance using the specified properties.

Parameters​
properties?​

$Shape

Properties to set

Returns​

GetNexusEndpointResponse & $Shape

GetNexusEndpointResponse instance

Call Signature​

static create(properties?): GetNexusEndpointResponse

Creates a new GetNexusEndpointResponse instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

GetNexusEndpointResponse

GetNexusEndpointResponse instance


decode()​

static decode(reader, length?): GetNexusEndpointResponse & $Shape

Decodes a GetNexusEndpointResponse message from the specified reader or buffer.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

length?​

number

Message length if known beforehand

Returns​

GetNexusEndpointResponse & $Shape

GetNexusEndpointResponse

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): GetNexusEndpointResponse & $Shape

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

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

GetNexusEndpointResponse & $Shape

GetNexusEndpointResponse

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


encode()​

static encode(message, writer?): Writer

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

Parameters​

message​

$Properties

GetNexusEndpointResponse message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

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

Parameters​

message​

$Properties

GetNexusEndpointResponse message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): GetNexusEndpointResponse

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

Parameters​

object​

Plain object

Returns​

GetNexusEndpointResponse

GetNexusEndpointResponse


toObject()​

static toObject(message, options?): object

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

Parameters​

message​

GetNexusEndpointResponse

GetNexusEndpointResponse

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object