Google Cloud Build V1 Client - Class OrderedBuildEvent (0.3.8)

Reference documentation and code samples for the Google Cloud Build V1 Client class OrderedBuildEvent.

Build event with contextual information about the stream it belongs to and its position in that stream.

Generated from protobuf message google.devtools.build.v1.OrderedBuildEvent

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ stream_id
Google\Cloud\Build\V1\StreamId

Which build event stream this event belongs to.

↳ sequence_number
int|string

The position of this event in the stream. The sequence numbers for a build event stream should be a sequence of consecutive natural numbers starting from one. (1, 2, 3, ...)

↳ event

getStreamId

Which build event stream this event belongs to.

Returns
Type
Description

hasStreamId

clearStreamId

setStreamId

Which build event stream this event belongs to.

Parameter
Name
Description
Returns
Type
Description
$this

getSequenceNumber

The position of this event in the stream. The sequence numbers for a build event stream should be a sequence of consecutive natural numbers starting from one. (1, 2, 3, ...)

Returns
Type
Description
int|string

setSequenceNumber

The position of this event in the stream. The sequence numbers for a build event stream should be a sequence of consecutive natural numbers starting from one. (1, 2, 3, ...)

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getEvent

The actual event.

Returns
Type
Description

hasEvent

clearEvent

setEvent

The actual event.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: