Skip to main content

Class: AddOrUpdateRemoteClusterResponse

operatorservice.v1.AddOrUpdateRemoteClusterResponse

Represents an AddOrUpdateRemoteClusterResponse.

Implements​

Constructors​

constructor​

β€’ new AddOrUpdateRemoteClusterResponse(properties?)

Constructs a new AddOrUpdateRemoteClusterResponse.

Parameters​

NameTypeDescription
properties?IAddOrUpdateRemoteClusterResponseProperties to set

Methods​

toJSON​

β–Έ toJSON(): Object

Converts this AddOrUpdateRemoteClusterResponse to JSON.

Returns​

Object

JSON object


create​

β–Έ Static create(properties?): AddOrUpdateRemoteClusterResponse

Creates a new AddOrUpdateRemoteClusterResponse instance using the specified properties.

Parameters​

NameTypeDescription
properties?IAddOrUpdateRemoteClusterResponseProperties to set

Returns​

AddOrUpdateRemoteClusterResponse

AddOrUpdateRemoteClusterResponse instance


decode​

β–Έ Static decode(reader, length?): AddOrUpdateRemoteClusterResponse

Decodes an AddOrUpdateRemoteClusterResponse 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​

AddOrUpdateRemoteClusterResponse

AddOrUpdateRemoteClusterResponse


decodeDelimited​

β–Έ Static decodeDelimited(reader): AddOrUpdateRemoteClusterResponse

Decodes an AddOrUpdateRemoteClusterResponse 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​

AddOrUpdateRemoteClusterResponse

AddOrUpdateRemoteClusterResponse


encode​

β–Έ Static encode(message, writer?): Writer

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

Parameters​

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

Returns​

Writer

Writer


encodeDelimited​

β–Έ Static encodeDelimited(message, writer?): Writer

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

Parameters​

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

Returns​

Writer

Writer


fromObject​

β–Έ Static fromObject(object): AddOrUpdateRemoteClusterResponse

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

Parameters​

NameTypeDescription
objectObjectPlain object

Returns​

AddOrUpdateRemoteClusterResponse

AddOrUpdateRemoteClusterResponse


getTypeUrl​

β–Έ Static getTypeUrl(typeUrlPrefix?): string

Gets the default type url for AddOrUpdateRemoteClusterResponse

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

Parameters​

NameTypeDescription
messageAddOrUpdateRemoteClusterResponseAddOrUpdateRemoteClusterResponse
options?IConversionOptionsConversion options

Returns​

Object

Plain object