Skip to main content

Class: TimestampedBuildIdAssignmentRule

taskqueue.v1.TimestampedBuildIdAssignmentRule

Represents a TimestampedBuildIdAssignmentRule.

Implements

Constructors

constructor

new TimestampedBuildIdAssignmentRule(properties?): TimestampedBuildIdAssignmentRule

Constructs a new TimestampedBuildIdAssignmentRule.

Parameters

NameTypeDescription
properties?ITimestampedBuildIdAssignmentRuleProperties to set

Returns

TimestampedBuildIdAssignmentRule

Properties

createTime

Optional createTime: null | ITimestamp

TimestampedBuildIdAssignmentRule createTime.

Implementation of

ITimestampedBuildIdAssignmentRule.createTime


rule

Optional rule: null | IBuildIdAssignmentRule

TimestampedBuildIdAssignmentRule rule.

Implementation of

ITimestampedBuildIdAssignmentRule.rule

Methods

toJSON

toJSON(): Object

Converts this TimestampedBuildIdAssignmentRule to JSON.

Returns

Object

JSON object


create

create(properties?): TimestampedBuildIdAssignmentRule

Creates a new TimestampedBuildIdAssignmentRule instance using the specified properties.

Parameters

NameTypeDescription
properties?ITimestampedBuildIdAssignmentRuleProperties to set

Returns

TimestampedBuildIdAssignmentRule

TimestampedBuildIdAssignmentRule instance


decode

decode(reader, length?): TimestampedBuildIdAssignmentRule

Decodes a TimestampedBuildIdAssignmentRule message from the specified reader or buffer.

Parameters

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

Returns

TimestampedBuildIdAssignmentRule

TimestampedBuildIdAssignmentRule

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): TimestampedBuildIdAssignmentRule

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

TimestampedBuildIdAssignmentRule

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

NameTypeDescription
messageITimestampedBuildIdAssignmentRuleTimestampedBuildIdAssignmentRule message or plain object to encode
writer?WriterWriter 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

NameTypeDescription
messageITimestampedBuildIdAssignmentRuleTimestampedBuildIdAssignmentRule message or plain object to encode
writer?WriterWriter 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.

Parameters

NameTypeDescription
objectObjectPlain object

Returns

TimestampedBuildIdAssignmentRule

TimestampedBuildIdAssignmentRule


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for TimestampedBuildIdAssignmentRule

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

Parameters

NameTypeDescription
messageTimestampedBuildIdAssignmentRuleTimestampedBuildIdAssignmentRule
options?IConversionOptionsConversion options

Returns

Object

Plain object