Skip to main content

Class: ResetActivityByIdResponse

workflowservice.v1.ResetActivityByIdResponse

Represents a ResetActivityByIdResponse.

Implements

Constructors

constructor

new ResetActivityByIdResponse(properties?): ResetActivityByIdResponse

Constructs a new ResetActivityByIdResponse.

Parameters

NameTypeDescription
properties?IResetActivityByIdResponseProperties to set

Returns

ResetActivityByIdResponse

Methods

toJSON

toJSON(): Object

Converts this ResetActivityByIdResponse to JSON.

Returns

Object

JSON object


create

create(properties?): ResetActivityByIdResponse

Creates a new ResetActivityByIdResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?IResetActivityByIdResponseProperties to set

Returns

ResetActivityByIdResponse

ResetActivityByIdResponse instance


decode

decode(reader, length?): ResetActivityByIdResponse

Decodes a ResetActivityByIdResponse message from the specified reader or buffer.

Parameters

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

Returns

ResetActivityByIdResponse

ResetActivityByIdResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): ResetActivityByIdResponse

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

ResetActivityByIdResponse

ResetActivityByIdResponse

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 ResetActivityByIdResponse message. Does not implicitly temporal.api.workflowservice.v1.ResetActivityByIdResponse.verify|verify messages.

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): ResetActivityByIdResponse

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

ResetActivityByIdResponse

ResetActivityByIdResponse


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for ResetActivityByIdResponse

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

Parameters

NameTypeDescription
messageResetActivityByIdResponseResetActivityByIdResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object