Skip to main content

Class: DeleteScheduleResponse

workflowservice.v1.DeleteScheduleResponse

Represents a DeleteScheduleResponse.

Implements

Constructors

constructor

new DeleteScheduleResponse(properties?)

Constructs a new DeleteScheduleResponse.

Parameters

NameTypeDescription
properties?IDeleteScheduleResponseProperties to set

Methods

toJSON

toJSON(): Object

Converts this DeleteScheduleResponse to JSON.

Returns

Object

JSON object


create

Static create(properties?): DeleteScheduleResponse

Creates a new DeleteScheduleResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?IDeleteScheduleResponseProperties to set

Returns

DeleteScheduleResponse

DeleteScheduleResponse instance


decode

Static decode(reader, length?): DeleteScheduleResponse

Decodes a DeleteScheduleResponse 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

DeleteScheduleResponse

DeleteScheduleResponse


decodeDelimited

Static decodeDelimited(reader): DeleteScheduleResponse

Decodes a DeleteScheduleResponse 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

DeleteScheduleResponse

DeleteScheduleResponse


encode

Static encode(message, writer?): Writer

Encodes the specified DeleteScheduleResponse message. Does not implicitly temporal.api.workflowservice.v1.DeleteScheduleResponse.verify|verify messages.

Parameters

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

Returns

Writer

Writer


encodeDelimited

Static encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

Static fromObject(object): DeleteScheduleResponse

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

DeleteScheduleResponse

DeleteScheduleResponse


getTypeUrl

Static getTypeUrl(typeUrlPrefix?): string

Gets the default type url for DeleteScheduleResponse

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

Parameters

NameTypeDescription
messageDeleteScheduleResponseDeleteScheduleResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object