Skip to main content

Class: AddOrUpdateRemoteClusterRequest

operatorservice.v1.AddOrUpdateRemoteClusterRequest

Represents an AddOrUpdateRemoteClusterRequest.

Implements

Constructors

constructor

new AddOrUpdateRemoteClusterRequest(properties?)

Constructs a new AddOrUpdateRemoteClusterRequest.

Parameters

NameTypeDescription
properties?IAddOrUpdateRemoteClusterRequestProperties to set

Properties

enableRemoteClusterConnection

enableRemoteClusterConnection: boolean

AddOrUpdateRemoteClusterRequest enableRemoteClusterConnection.

Implementation of

IAddOrUpdateRemoteClusterRequest.enableRemoteClusterConnection


frontendAddress

frontendAddress: string

AddOrUpdateRemoteClusterRequest frontendAddress.

Implementation of

IAddOrUpdateRemoteClusterRequest.frontendAddress

Methods

toJSON

toJSON(): Object

Converts this AddOrUpdateRemoteClusterRequest to JSON.

Returns

Object

JSON object


create

Static create(properties?): AddOrUpdateRemoteClusterRequest

Creates a new AddOrUpdateRemoteClusterRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?IAddOrUpdateRemoteClusterRequestProperties to set

Returns

AddOrUpdateRemoteClusterRequest

AddOrUpdateRemoteClusterRequest instance


decode

Static decode(reader, length?): AddOrUpdateRemoteClusterRequest

Decodes an AddOrUpdateRemoteClusterRequest 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

AddOrUpdateRemoteClusterRequest

AddOrUpdateRemoteClusterRequest


decodeDelimited

Static decodeDelimited(reader): AddOrUpdateRemoteClusterRequest

Decodes an AddOrUpdateRemoteClusterRequest 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

AddOrUpdateRemoteClusterRequest

AddOrUpdateRemoteClusterRequest


encode

Static encode(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


encodeDelimited

Static encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

Static fromObject(object): AddOrUpdateRemoteClusterRequest

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

AddOrUpdateRemoteClusterRequest

AddOrUpdateRemoteClusterRequest


getTypeUrl

Static getTypeUrl(typeUrlPrefix?): string

Gets the default type url for AddOrUpdateRemoteClusterRequest

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 an AddOrUpdateRemoteClusterRequest message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messageAddOrUpdateRemoteClusterRequestAddOrUpdateRemoteClusterRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object