Skip to main content

Class: BackfillRequest

schedule.v1.BackfillRequest

Represents a BackfillRequest.

Implements

Constructors

constructor

new BackfillRequest(properties?): BackfillRequest

Constructs a new BackfillRequest.

Parameters

NameTypeDescription
properties?IBackfillRequestProperties to set

Returns

BackfillRequest

Properties

endTime

Optional endTime: null | ITimestamp

BackfillRequest endTime.

Implementation of

IBackfillRequest.endTime


overlapPolicy

overlapPolicy: ScheduleOverlapPolicy

If set, override overlap policy for this request.

Implementation of

IBackfillRequest.overlapPolicy


startTime

Optional startTime: null | ITimestamp

Time range to evaluate schedule in. Currently, this time range is exclusive on start_time and inclusive on end_time. (This is admittedly counterintuitive and it may change in the future, so to be safe, use a start time strictly before a scheduled time.) Also note that an action nominally scheduled in the interval but with jitter that pushes it after end_time will not be included.

Implementation of

IBackfillRequest.startTime

Methods

toJSON

toJSON(): Object

Converts this BackfillRequest to JSON.

Returns

Object

JSON object


create

create(properties?): BackfillRequest

Creates a new BackfillRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?IBackfillRequestProperties to set

Returns

BackfillRequest

BackfillRequest instance


decode

decode(reader, length?): BackfillRequest

Decodes a BackfillRequest message from the specified reader or buffer.

Parameters

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

Returns

BackfillRequest

BackfillRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): BackfillRequest

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

BackfillRequest

BackfillRequest

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

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): BackfillRequest

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

BackfillRequest

BackfillRequest


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for BackfillRequest

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

Parameters

NameTypeDescription
messageBackfillRequestBackfillRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object