Class: BackfillRequest
Represents a BackfillRequest.
Implements
Constructors
constructor
• new BackfillRequest(properties?): BackfillRequest
Constructs a new BackfillRequest.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IBackfillRequest | Properties to set |
Returns
Properties
endTime
• Optional endTime: null | ITimestamp
BackfillRequest endTime.
Implementation of
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
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
| Name | Type | Description |
|---|---|---|
properties? | IBackfillRequest | Properties to set |
Returns
BackfillRequest instance
decode
▸ decode(reader, length?): BackfillRequest
Decodes a BackfillRequest message from the specified reader or buffer.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
length? | number | Message length if known beforehand |
Returns
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
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
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
| Name | Type | Description |
|---|---|---|
message | IBackfillRequest | BackfillRequest message or plain object to encode |
writer? | Writer | Writer 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
| Name | Type | Description |
|---|---|---|
message | IBackfillRequest | BackfillRequest message or plain object to encode |
writer? | Writer | Writer 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
| Name | Type | Description |
|---|---|---|
object | Object | Plain object |
Returns
BackfillRequest
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?): string
Gets the default type url for BackfillRequest
Parameters
| Name | Type | Description |
|---|---|---|
typeUrlPrefix? | string | your 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
| Name | Type | Description |
|---|---|---|
message | BackfillRequest | BackfillRequest |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object