Class: TimestampedBuildIdAssignmentRule
taskqueue.v1.TimestampedBuildIdAssignmentRule
Represents a TimestampedBuildIdAssignmentRule.
Properties
createTime
• Optional createTime: null | $Properties
TimestampedBuildIdAssignmentRule createTime.
rule
• Optional rule: null | $Properties
TimestampedBuildIdAssignmentRule rule.
Methods
toJSON
▸ toJSON(): Object
Converts this TimestampedBuildIdAssignmentRule to JSON.
Returns
Object
JSON object
create
▸ create(properties?): TimestampedBuildIdAssignmentRule & $Shape
Creates a new TimestampedBuildIdAssignmentRule instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | $Shape | Properties to set |
Returns
TimestampedBuildIdAssignmentRule & $Shape
TimestampedBuildIdAssignmentRule instance
▸ create(properties?): TimestampedBuildIdAssignmentRule
Parameters
| Name | Type |
|---|---|
properties? | $Properties |
Returns
TimestampedBuildIdAssignmentRule
decode
▸ decode(reader, length?): TimestampedBuildIdAssignmentRule & $Shape
Decodes a TimestampedBuildIdAssignmentRule 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
TimestampedBuildIdAssignmentRule & $Shape
TimestampedBuildIdAssignmentRule
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): TimestampedBuildIdAssignmentRule & $Shape
Decodes a TimestampedBuildIdAssignmentRule message from the specified reader or buffer, length delimited.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
TimestampedBuildIdAssignmentRule & $Shape
TimestampedBuildIdAssignmentRule
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 TimestampedBuildIdAssignmentRule message. Does not implicitly temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | $Properties | TimestampedBuildIdAssignmentRule message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message, writer?): Writer
Encodes the specified TimestampedBuildIdAssignmentRule message, length delimited. Does not implicitly temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | $Properties | TimestampedBuildIdAssignmentRule message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
fromObject
▸ fromObject(object): TimestampedBuildIdAssignmentRule
Creates a TimestampedBuildIdAssignmentRule message from a plain object. Also converts values to their respective internal types.